mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 14:06:15 +01:00
Fix signedness warnings in glib/tests/once.c
glib/tests/once.c: In function ‘test_once_init_multi_threaded’: glib/tests/once.c:183:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 183 | for (i = 0; i < G_N_ELEMENTS (threads); i++) | ^ glib/tests/once.c:186:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’ 186 | for (i = 0; i < G_N_ELEMENTS (threads); i++) | ^
This commit is contained in:
parent
d15260ee69
commit
700a9d4042
@ -173,7 +173,7 @@ thread_func (gpointer data)
|
||||
static void
|
||||
test_once_init_multi_threaded (void)
|
||||
{
|
||||
gint i;
|
||||
gsize i;
|
||||
GThread *threads[THREADS];
|
||||
|
||||
g_test_summary ("Test g_once_init_{enter,leave}() usage from multiple threads");
|
||||
|
Loading…
Reference in New Issue
Block a user