diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-10-15 11:45:24 +0200 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-13 10:12:16 +0100 |
commit | 946472132430267f4fa835732a298d5ce59ebc9d (patch) | |
tree | 3cf16c1df011f41cc11a367c79222bd5b94b57fb /glib/tests/protocol.c | |
parent | 76b84c5f6604c94bb0d13a5b6cad6873112a898b (diff) | |
download | glib-946472132430267f4fa835732a298d5ce59ebc9d.tar.gz |
Fix signedness warning in glib/tests/protocol.c
glib/tests/protocol.c: In function ‘test_error’:
glib/tests/protocol.c:252:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’
252 | for (i = 0; i < G_N_ELEMENTS (tests); i++)
| ^
Diffstat (limited to 'glib/tests/protocol.c')
-rw-r--r-- | glib/tests/protocol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/protocol.c b/glib/tests/protocol.c index f1e969af3..27ebd99be 100644 --- a/glib/tests/protocol.c +++ b/glib/tests/protocol.c @@ -246,7 +246,7 @@ test_error (void) "/glib/testing/protocol/critical", "/glib/testing/protocol/error" }; - gint i; + gsize i; int messages = 0; for (i = 0; i < G_N_ELEMENTS (tests); i++) |