mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
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)) | ^~
This commit is contained in:
parent
e801143110
commit
b3244bee0c
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user