diff options
author | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2016-11-12 16:49:29 +0200 |
---|---|---|
committer | Alberts Muktupāvels <alberts.muktupavels@gmail.com> | 2017-04-26 14:32:15 +0300 |
commit | 6c6528af8d49a88816cb1e302f612bca30bf8ff8 (patch) | |
tree | 9a2a10b905752e8edc627904f24e63c35a1c7153 | |
parent | 6386b3eb5b87f59102c48350da05793044e53e4e (diff) | |
download | libwnck-6c6528af8d49a88816cb1e302f612bca30bf8ff8.tar.gz |
util: fix few 'comparison between signed and unsigned integer' warnings
-rw-r--r-- | libwnck/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libwnck/util.c b/libwnck/util.c index c9a75ba..59da7aa 100644 --- a/libwnck/util.c +++ b/libwnck/util.c @@ -212,7 +212,7 @@ wnck_xid_read_resource_usage (GdkDisplay *gdisplay, i = 0; while (i < n_types) { - int t = types[i].resource_type; + guint t = types[i].resource_type; if (t == pixmap_atom) usage->n_pixmaps += types[i].count; @@ -311,7 +311,7 @@ wnck_find_pid_for_resource_r (Display *xdisplay, Window dummy; Window *children; guint n_children; - int i; + guint i; gulong found_pid = 0; while (gtk_events_pending ()) |