Fix signedness warnings in tests/refcount/objects.c

tests/refcount/objects.c: In function ‘main’:
tests/refcount/objects.c:133:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘const unsigned int’}
  133 |   for (i = 0; i < n_threads; i++) {
      |                 ^
tests/refcount/objects.c:149:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘unsigned int’
  149 |   for (i = 0; i < 2 * n_threads; i++) {
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-20 21:32:47 +01:00
parent 3b424d746c
commit 7c69a1d5f6

View File

@ -115,7 +115,7 @@ run_thread (GTest * test)
int
main (int argc, char **argv)
{
gint i;
guint i;
GTest *test1, *test2;
GArray *test_threads;
const guint n_threads = 5;