mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-02 01:12:17 +01:00
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:
@@ -225,7 +225,7 @@ test_valuearray_basic (void)
|
||||
GValueArray *a2;
|
||||
GValue v = G_VALUE_INIT;
|
||||
GValue *p;
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
a = g_value_array_new (20);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user