mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Fix several signedness warnings in gio/gdesktopappinfo.c:g_app_info_get_default_for_type()
gio/gdesktopappinfo.c: In function ‘g_app_info_get_default_for_type’: gio/gdesktopappinfo.c:4357:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4357 | for (j = 0; j < desktop_file_dirs->len; j++) | ^ gio/gdesktopappinfo.c:4361:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4361 | for (j = 0; j < desktop_file_dirs->len; j++) | ^ gio/gdesktopappinfo.c:4365:21: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4365 | for (j = 0; j < results->len; j++) | ^ gio/gdesktopappinfo.c:4369:25: error: comparison of integer expressions of different signedness: ‘gint’ {aka ‘int’} and ‘guint’ {aka ‘unsigned int’} 4369 | for (k = 0; k < desktop_file_dirs->len; k++) | ^
This commit is contained in:
parent
daa0e0b76b
commit
554b1ff0e2
@ -4372,7 +4372,7 @@ g_app_info_get_default_for_type (const char *content_type,
|
||||
GPtrArray *results;
|
||||
GAppInfo *info;
|
||||
gchar **types;
|
||||
gint i, j, k;
|
||||
guint i, j, k;
|
||||
|
||||
g_return_val_if_fail (content_type != NULL, NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user