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:
Emmanuel Fleury 2020-10-15 10:32:35 +02:00
parent 8fc0080b5e
commit fbb492b3eb

View File

@ -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'));