mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56: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:
parent
5e1d368eec
commit
bbb9ef19ce
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user