mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-25 23:16:14 +01:00
Fix signedness warning in gio/gfileinfo.c:g_file_info_list_attributes()
gio/gfileinfo.c: In function ‘g_file_info_list_attributes’: gio/gfileinfo.c:645:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 645 | for (i = 0; i < info->attributes->len; i++) | ^
This commit is contained in:
parent
aface2b6b2
commit
dd63c0bf32
@ -636,7 +636,7 @@ g_file_info_list_attributes (GFileInfo *info,
|
||||
GFileAttribute *attrs;
|
||||
guint32 attribute;
|
||||
guint32 ns_id = (name_space) ? lookup_namespace (name_space) : 0;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
g_return_val_if_fail (G_IS_FILE_INFO (info), NULL);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user