From 80e2dc3a7a22410ed9a54792e61f05c392705175 Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Tue, 17 Nov 2020 23:07:03 +0100 Subject: [PATCH] Fix signedness warning in gio/gdbus-tool.c MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/gdbus-tool.c:1183:95: error: comparison of integer expressions of different signedness: ‘guint’ {aka ‘unsigned int’} and ‘int’ 1183 | if ((fd_id = g_unix_fd_list_append (fd_list, g_variant_get_handle (value), &error)) == -1) | ^~ --- gio/gdbus-tool.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdbus-tool.c b/gio/gdbus-tool.c index 06f61cfac..1f9e308d5 100644 --- a/gio/gdbus-tool.c +++ b/gio/gdbus-tool.c @@ -916,7 +916,7 @@ handle_call (gint *argc, GPtrArray *in_signature_types; #ifdef G_OS_UNIX GUnixFDList *fd_list; - guint fd_id; + gint fd_id; #endif gboolean complete_names; gboolean complete_paths;