Fix signedness warnings in gobject/tests/value.c:test_valuearray_basic()

gobject/tests/value.c: In function ‘test_valuearray_basic’:
gobject/tests/value.c:253:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
  253 |   for (i = 0; i < a->n_values - 1; i++)
      |                 ^
gobject/tests/value.c:257:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
  257 |   for (i = 0; i < a->n_values; i++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-16 17:41:46 +01:00
parent 5e1d368eec
commit bbb9ef19ce

View File

@ -225,7 +225,7 @@ test_valuearray_basic (void)
GValueArray *a2; GValueArray *a2;
GValue v = G_VALUE_INIT; GValue v = G_VALUE_INIT;
GValue *p; GValue *p;
gint i; guint i;
a = g_value_array_new (20); a = g_value_array_new (20);