[common] Fix signedness warnings in window manager code

This commit is contained in:
Jens Granseuer 2009-12-09 12:10:39 +01:00
parent f1372f438e
commit e90d5dda76

View file

@ -24,7 +24,7 @@ wm_common_get_window_manager_property (Atom atom)
int format; int format;
gulong nitems; gulong nitems;
gulong bytes_after; gulong bytes_after;
guchar *val; gchar *val;
if (wm_window == None) if (wm_window == None)
return NULL; return NULL;
@ -40,7 +40,7 @@ wm_common_get_window_manager_property (Atom atom)
0, G_MAXLONG, 0, G_MAXLONG,
False, utf8_string, False, utf8_string,
&type, &format, &nitems, &type, &format, &nitems,
&bytes_after, &val); &bytes_after, (guchar **) &val);
if (gdk_error_trap_pop () || result != Success || if (gdk_error_trap_pop () || result != Success ||
type != utf8_string || format != 8 || nitems == 0 || type != utf8_string || format != 8 || nitems == 0 ||