[glib: 1/8] Fix signedness warning in gio/gdbus-tool.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 1/8] Fix signedness warning in gio/gdbus-tool.c
- Date: Tue, 16 Feb 2021 13:11:43 +0000 (UTC)
commit 80e2dc3a7a22410ed9a54792e61f05c392705175
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Tue Nov 17 23:07:03 2020 +0100
Fix signedness warning in gio/gdbus-tool.c
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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]