Fix signedness warning in tests/unicode-collate.c

tests/unicode-collate.c: In function ‘main’:
tests/unicode-collate.c:77:11: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’}
   77 |  if (argc > i)
      |           ^
This commit is contained in:
Emmanuel Fleury 2020-11-20 22:48:03 +01:00
parent 1d02b96655
commit 5299ee541a

View File

@ -74,7 +74,7 @@ int main (int argc, char **argv)
}
}
if (argc > i)
if (argc > (gint) i)
{
in = g_io_channel_new_file (argv[i], "r", &error);
if (!in)