mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-11 03:46:17 +01:00
Fix signedness warnings in glib/tests/slice.c
glib/tests/slice.c: In function ‘test_allocate’: glib/tests/slice.c:146:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 146 | for (i = 0; i < G_N_ELEMENTS(threads); i++) | ^ glib/tests/slice.c:149:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 149 | for (i = 0; i < G_N_ELEMENTS(threads); i++) | ^
This commit is contained in:
parent
fcbd9d6d75
commit
f4bfc50db3
@ -137,7 +137,7 @@ test_allocate (void)
|
||||
{
|
||||
GThread *threads[30];
|
||||
gint size;
|
||||
gint i;
|
||||
gsize i;
|
||||
|
||||
for (i = 0; i < 30; i++)
|
||||
for (size = 1; size <= 4096; size++)
|
||||
|
Loading…
Reference in New Issue
Block a user