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: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)
|
if (include_fallback)
|
||||||
{
|
{
|
||||||
gint i;
|
guint i;
|
||||||
|
|
||||||
/* Iterate the array as we grow it, until we have nothing more to add */
|
/* Iterate the array as we grow it, until we have nothing more to add */
|
||||||
for (i = 0; i < array->len; i++)
|
for (i = 0; i < array->len; i++)
|
||||||
|
Loading…
Reference in New Issue
Block a user