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:
Emmanuel Fleury 2020-11-20 19:34:24 +01:00
parent 401ff06614
commit 2187406f70

View File

@ -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;