From ece9a52d0b7e9c3e67504851d4b09b04951c8e4e Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Mon, 16 Nov 2020 20:55:32 +0100 Subject: [PATCH] Fix signedness warning in gio/gfileinfo.c:g_file_info_clear_status() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/gfileinfo.c: In function ‘g_file_info_clear_status’: gio/gfileinfo.c:499:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 499 | 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 31c654f06..47637aac1 100644 --- a/gio/gfileinfo.c +++ b/gio/gfileinfo.c @@ -491,7 +491,7 @@ void g_file_info_clear_status (GFileInfo *info) { GFileAttribute *attrs; - int i; + guint i; g_return_if_fail (G_IS_FILE_INFO (info));