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:
Emmanuel Fleury 2020-11-16 21:04:01 +01:00
parent aface2b6b2
commit dd63c0bf32

View File

@ -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);