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

gio/gdesktopappinfo.c: In function ‘desktop_file_dirs_lock’:
gio/gdesktopappinfo.c:1564:17: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’}
 1564 |   for (i = 0; i < desktop_file_dirs->len; i++)
      |                 ^
This commit is contained in:
Emmanuel Fleury 2020-11-17 10:59:52 +01:00
parent ce2446ddfd
commit 04a05ff016

View File

@ -1545,7 +1545,7 @@ desktop_file_dir_get_implementations (DesktopFileDir *dir,
static void
desktop_file_dirs_lock (void)
{
gint i;
guint i;
const gchar *user_config_dir = g_get_user_config_dir ();
g_mutex_lock (&desktop_file_dir_lock);