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:
Emmanuel Fleury 2020-10-15 13:27:32 +02:00
parent a1758820d7
commit 101a604330

View File

@ -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++)
{