mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-28 23:12:17 +01:00
Fix signedness warning in glib/tests/node.c
glib/tests/node.c: In function ‘traversal_test’:
glib/tests/node.c:214:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’
214 | for (i = 0; i < G_N_ELEMENTS (orders); i++)
| ^
This commit is contained in:
@@ -168,7 +168,7 @@ traversal_test (void)
|
||||
{ G_LEVEL_ORDER, G_TRAVERSE_ALL, 3, 7, "ABFCDEG" },
|
||||
{ G_LEVEL_ORDER, G_TRAVERSE_ALL, 3, 8, "ABFCDEG" },
|
||||
};
|
||||
gint i;
|
||||
gsize i;
|
||||
CallbackData data;
|
||||
|
||||
root = g_node_new (C2P ('A'));
|
||||
|
||||
Reference in New Issue
Block a user