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:
Emmanuel Fleury 2020-11-20 21:25:28 +01:00
parent b04ebbf67b
commit b419761189

View File

@ -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);