summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Fleury <emmanuel.fleury@gmail.com>2020-11-17 11:13:29 +0100
committerPhilip Withnall <pwithnall@endlessos.org>2021-01-19 10:03:12 +0000
commitae1eebb2e9b75484c4130472538727381e050ea2 (patch)
tree9e2097198801539933d14159b2ac070bddfb8779
parent9567665524843350e6b783f8692f311bf00df305 (diff)
downloadglib-ae1eebb2e9b75484c4130472538727381e050ea2.tar.gz
Fix signedness warning in gio/gdesktopappinfo.c:g_app_info_get_all()
gio/gdesktopappinfo.c: In function ‘g_app_info_get_all’: gio/gdesktopappinfo.c:4597:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 4597 | for (i = 0; i < desktop_file_dirs->len; i++) | ^
-rw-r--r--gio/gdesktopappinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 74fadaf97..d1b76a8a5 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -4620,7 +4620,7 @@ g_app_info_get_all (void)
GHashTable *apps;
GHashTableIter iter;
gpointer value;
- int i;
+ guint i;
GList *infos;
apps = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, NULL);