diff --git a/tests/mainloop-test.c b/tests/mainloop-test.c index 5a3e6c989..be6024a10 100644 --- a/tests/mainloop-test.c +++ b/tests/mainloop-test.c @@ -352,10 +352,10 @@ create_crawler (void) static void cleanup_crawlers (GMainContext *context) { - gint i; + guint i; G_LOCK (crawler_array_lock); - for (i=0; i < crawler_array->len; i++) + for (i = 0; i < crawler_array->len; i++) { if (g_source_get_context (crawler_array->pdata[i]) == context) {