mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
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++) | ^
This commit is contained in:
parent
76b84c5f66
commit
9464721324
@ -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++)
|
||||
|
Loading…
Reference in New Issue
Block a user