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:
Emmanuel Fleury 2020-10-15 11:45:24 +02:00
parent 76b84c5f66
commit 9464721324

View File

@ -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++)