mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 07:26:15 +01:00
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:
parent
de5e43dc95
commit
5940d51167
@ -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++)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user