diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-10-15 10:23:36 +0200 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-13 10:13:49 +0100 |
commit | 43a30e49838b8cc5fa7c75aa2090ddf8220f416a (patch) | |
tree | 299a05eab2f3e0b4bd4b193ca62a0a4198a0ec71 | |
parent | a8bc60498867226c377cc1fb5d8ee60c6b4625cb (diff) | |
download | glib-43a30e49838b8cc5fa7c75aa2090ddf8220f416a.tar.gz |
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++)
| ^
-rw-r--r-- | glib/tests/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/tree.c b/glib/tests/tree.c index 5bf7bd368..8811d962d 100644 --- a/glib/tests/tree.c +++ b/glib/tests/tree.c @@ -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" }, |