mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
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:
parent
1d02b96655
commit
5299ee541a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user