summaryrefslogtreecommitdiff
path: root/libwnck/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwnck/util.c')
-rw-r--r--libwnck/util.c4
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 ())