diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-21 11:19:22 +0100 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-03-21 11:19:22 +0100 |
commit | b3c405408fb7abaad6039b65d86ef701b12c9f0a (patch) | |
tree | 5691b361c2400a8897f4cd58e2475e0c9a38ec62 /src/winwidget.c | |
parent | b61f0a05c54e6d5818ce46cb417ae54723ac7193 (diff) | |
download | feh-b3c405408fb7abaad6039b65d86ef701b12c9f0a.zip |
Fix a few compiler warnings (-Wall -Wextra)
Diffstat (limited to 'src/winwidget.c')
-rw-r--r-- | src/winwidget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/winwidget.c b/src/winwidget.c index dd0adbb..40d9fd2 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -259,7 +259,8 @@ void winwidget_create_window(winwidget ret, int w, int h) ev.xclient.data.l[0] = (ret->full_screen ? 1 : 0); ev.xclient.data.l[1] = prop_fs; - XChangeProperty(disp, ret->win, prop_state, XA_ATOM, 32, PropModeReplace, &prop_fs, 1); + XChangeProperty(disp, ret->win, prop_state, XA_ATOM, 32, + PropModeReplace, (unsigned char *) &prop_fs, 1); } XSetWMProtocols(disp, ret->win, &wmDeleteWindow, 1); @@ -976,7 +977,7 @@ int winwidget_get_height(winwidget winwid) void winwidget_get_geometry(winwidget winwid, int *rect) { - int bw, bp; + unsigned int bw, bp; Window child; D_ENTER(4); if (!rect) |