From 6bce33300ac4ff337fcceae44a01996777e58cec Mon Sep 17 00:00:00 2001 From: Emmanuel Fleury Date: Tue, 17 Nov 2020 11:09:07 +0100 Subject: [PATCH] Fix signedness warning in gio/gdesktopappinfo.c:g_desktop_app_info_get_implementations() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit gio/gdesktopappinfo.c: In function ‘g_desktop_app_info_get_implementations’: gio/gdesktopappinfo.c:4451:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4451 | for (i = 0; i < desktop_file_dirs->len; i++) | ^ --- gio/gdesktopappinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c index 3ee1adb93..3cc453ccd 100644 --- a/gio/gdesktopappinfo.c +++ b/gio/gdesktopappinfo.c @@ -4477,7 +4477,7 @@ g_desktop_app_info_get_implementations (const gchar *interface) { GList *result = NULL; GList **ptr; - gint i; + guint i; desktop_file_dirs_lock ();