mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Fix signedness warning in glib/test/tree.c
glib/tests/tree.c: In function ‘test_tree_traverse’: glib/tests/tree.c:394:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 394 | for (i = 0; i < G_N_ELEMENTS (orders); i++) | ^
This commit is contained in:
parent
a8bc604988
commit
e801143110
@ -333,7 +333,7 @@ static void
|
||||
test_tree_traverse (void)
|
||||
{
|
||||
GTree *tree;
|
||||
gint i;
|
||||
gsize i;
|
||||
TraverseData orders[] = {
|
||||
{ G_IN_ORDER, -1, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" },
|
||||
{ G_IN_ORDER, 1, "0" },
|
||||
|
Loading…
Reference in New Issue
Block a user