mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
Fix signedness warning in gio/gdesktopappinfo.c:get_list_of_mimetypes()
gio/gdesktopappinfo.c: In function ‘get_list_of_mimetypes’: gio/gdesktopappinfo.c:4116:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4116 | for (i = 0; i < array->len; i++) | ^
This commit is contained in:
parent
83af3f64f1
commit
46772fe4c3
@ -4143,7 +4143,7 @@ get_list_of_mimetypes (const gchar *content_type,
|
||||
|
||||
if (include_fallback)
|
||||
{
|
||||
gint i;
|
||||
guint i;
|
||||
|
||||
/* Iterate the array as we grow it, until we have nothing more to add */
|
||||
for (i = 0; i < array->len; i++)
|
||||
|
Loading…
Reference in New Issue
Block a user