mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-22 07:49:24 +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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user