mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-19 07:08:54 +02: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:
@@ -132,7 +132,7 @@ test_methods (GDBusProxy *proxy)
|
|||||||
static gboolean
|
static gboolean
|
||||||
strv_equal (gchar **strv, ...)
|
strv_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