mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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:
parent
ce2446ddfd
commit
04a05ff016
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user