From 805053d09b43161481a4d26729fdc59cfe2b816b Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Mon, 16 Nov 2020 18:06:23 +0100 Subject: [PATCH] Fix signedness warning in gobject/tests/signals.c:test_introspection() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gobject/tests/signals.c: In function ‘test_introspection’: gobject/tests/signals.c:1180:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 1180 | for (i = 0; i < n_ids; i++) | ^ --- gobject/tests/signals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/tests/signals.c b/gobject/tests/signals.c index ac0ce5102..55d5207ca 100644 --- a/gobject/tests/signals.c +++ b/gobject/tests/signals.c @@ -1148,7 +1148,7 @@ test_introspection (void) guint *ids; guint n_ids; const gchar *name; - gint i; + guint i; const gchar *names[] = { "simple", "simple-detailed",