From aface2b6b26147be7e6624e7e96363f58e4d8e8c Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Mon, 16 Nov 2020 21:01:31 +0100 Subject: [PATCH] Fix signedness warning in gio/gfileinfo.c:g_file_info_has_namespace() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/gfileinfo.c: In function ‘g_file_info_has_namespace’: gio/gfileinfo.c:610:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 610 | for (i = 0; i < info->attributes->len; i++) | ^ --- gio/gfileinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c index fd11e1249..bd5a12789 100644 --- a/gio/gfileinfo.c +++ b/gio/gfileinfo.c @@ -599,7 +599,7 @@ g_file_info_has_namespace (GFileInfo *info, { GFileAttribute *attrs; guint32 ns_id; - int i; + guint i; g_return_val_if_fail (G_IS_FILE_INFO (info), FALSE); g_return_val_if_fail (name_space != NULL, FALSE);