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)
      |                                                                                               ^~
This commit is contained in:
Emmanuel Fleury 2020-11-17 23:07:03 +01:00
parent 7ec5405c5a
commit 80e2dc3a7a

View File

@ -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;