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++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 11:13:29 +01:00 committed by Philip Withnall
parent 9567665524
commit ae1eebb2e9

View File

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