mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
Fix signedness warning in tests/onceinit.c
tests/onceinit.c: In function ‘stress_concurrent_initializers’: tests/onceinit.c:267:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 267 | for (i = 0; i < G_N_ELEMENTS (initializers); i++) | ^
This commit is contained in:
parent
b04ebbf67b
commit
b419761189
@ -259,7 +259,7 @@ stress_concurrent_initializers (void *user_data)
|
||||
LIST_256_TEST_INITIALIZERS (stress3),
|
||||
LIST_256_TEST_INITIALIZERS (stress4),
|
||||
};
|
||||
int i;
|
||||
gsize i;
|
||||
/* sync to main thread */
|
||||
g_mutex_lock (&tmutex);
|
||||
g_mutex_unlock (&tmutex);
|
||||
|
Loading…
Reference in New Issue
Block a user