mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-27 07:56:14 +01:00
Fix signedness warnings in glib/tests/rcbox.c
glib/tests/rcbox.c: In function ‘test_rcbox_alignment’: glib/tests/rcbox.c:246:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 246 | for (i = 0; i < G_N_ELEMENTS (block_sizes); i++) | ^ glib/tests/rcbox.c: In function ‘test_atomic_rcbox_alignment’: glib/tests/rcbox.c:270:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 270 | for (i = 0; i < G_N_ELEMENTS (block_sizes); i++) | ^
This commit is contained in:
parent
a1758820d7
commit
101a604330
@ -241,7 +241,7 @@ test_rcbox_alignment (void)
|
||||
sizeof (gint32) * 3,
|
||||
};
|
||||
|
||||
int i;
|
||||
gsize i;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (block_sizes); i++)
|
||||
{
|
||||
@ -265,7 +265,7 @@ test_atomic_rcbox_alignment (void)
|
||||
sizeof (gint32) * 3,
|
||||
};
|
||||
|
||||
int i;
|
||||
gsize i;
|
||||
|
||||
for (i = 0; i < G_N_ELEMENTS (block_sizes); i++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user