mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
Fix signedness warning in gio/tests/gdbus-proxy.c
gio/tests/gdbus-proxy.c: In function ‘strv_equal’: gio/tests/gdbus-proxy.c:158:32: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’} 158 | res = g_strv_length (strv) == count; | ^~
This commit is contained in:
parent
401ff06614
commit
2187406f70
@ -132,7 +132,7 @@ test_methods (GDBusProxy *proxy)
|
||||
static gboolean
|
||||
strv_equal (gchar **strv, ...)
|
||||
{
|
||||
gint count;
|
||||
gsize count;
|
||||
va_list list;
|
||||
const gchar *str;
|
||||
gboolean res;
|
||||
|
Loading…
Reference in New Issue
Block a user