diff --git a/glib/tests/logging.c b/glib/tests/logging.c index f16503ad1..096fe4467 100644 --- a/glib/tests/logging.c +++ b/glib/tests/logging.c @@ -398,7 +398,7 @@ compare_field (const GLogField *f1, const GLogField *f2) static gboolean compare_fields (const GLogField *f1, gsize n1, const GLogField *f2, gsize n2) { - int i, j; + gsize i, j; for (i = 0; i < n1; i++) {