Fix signedness warning in gio/tests/gsettings.c

gio/tests/gsettings.c: In function ‘strv_set_equal’:
gio/tests/gsettings.c:2268:41: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘gint’ {aka ‘int’}
 2268 |     res = g_strv_length ((gchar**)strv) == count;
      |                                         ^~
This commit is contained in:
Emmanuel Fleury 2020-11-20 19:24:47 +01:00
parent 83a9ba7790
commit 4d52358fe2

View File

@ -2397,7 +2397,7 @@ strv_has_string (gchar **haystack,
static gboolean static gboolean
strv_set_equal (gchar **strv, ...) strv_set_equal (gchar **strv, ...)
{ {
gint count; gsize count;
va_list list; va_list list;
const gchar *str; const gchar *str;
gboolean res; gboolean res;