diff options
author | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-10-15 10:26:07 +0200 |
---|---|---|
committer | Emmanuel Fleury <emmanuel.fleury@gmail.com> | 2020-11-13 10:12:16 +0100 |
commit | b3244bee0c5a49e7fd8cded288824e6e68bf843b (patch) | |
tree | 2dbd970a02b665ca56743c07fe8e710ae10c0ec4 | |
parent | e80114311001e86ae5761d95cf234739642c5fea (diff) | |
download | glib-b3244bee0c5a49e7fd8cded288824e6e68bf843b.tar.gz |
Fix signedness warning in glib/tests/hash.c
glib/tests/hash.c: In function ‘test_hash_misc’:
glib/tests/hash.c:616:43: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
616 | if (values_len != keys_len && keys_len != g_hash_table_size (hash_table))
| ^~
-rw-r--r-- | glib/tests/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/tests/hash.c b/glib/tests/hash.c index 6b0197101..4623d18d1 100644 --- a/glib/tests/hash.c +++ b/glib/tests/hash.c @@ -591,7 +591,7 @@ test_hash_misc (void) gint value = 120; gint *pvalue; GList *keys, *values; - gint keys_len, values_len; + gsize keys_len, values_len; GHashTableIter iter; gpointer ikey, ivalue; int result_array[10000]; |