mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 15:06:14 +01:00
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:
parent
83a9ba7790
commit
4d52358fe2
@ -2397,7 +2397,7 @@ strv_has_string (gchar **haystack,
|
||||
static gboolean
|
||||
strv_set_equal (gchar **strv, ...)
|
||||
{
|
||||
gint count;
|
||||
gsize count;
|
||||
va_list list;
|
||||
const gchar *str;
|
||||
gboolean res;
|
||||
|
Loading…
Reference in New Issue
Block a user