Fix signedness warning in gio/gdesktopappinfo.c:desktop_file_dir_unindexed_setup_search()

gio/gdesktopappinfo.c: In function ‘desktop_file_dir_unindexed_setup_search’:
gio/gdesktopappinfo.c:1114:25: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘long unsigned int’
 1114 |           for (i = 0; i < G_N_ELEMENTS (desktop_key_match_category); i++)
      |                         ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 10:56:00 +01:00
parent de5e43dc95
commit 5940d51167

View File

@ -1142,7 +1142,7 @@ desktop_file_dir_unindexed_setup_search (DesktopFileDir *dir)
{
/* Index the interesting keys... */
gchar **implements;
gint i;
gsize i;
for (i = 0; i < G_N_ELEMENTS (desktop_key_match_category); i++)
{