mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Fix signedness warning in gio/gfileinfo.c:g_file_info_set_attribute_mask()
gio/gfileinfo.c: In function ‘g_file_info_set_attribute_mask’: gio/gfileinfo.c:453:21: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 453 | for (i = 0; i < info->attributes->len; i++) | ^
This commit is contained in:
@@ -439,7 +439,7 @@ g_file_info_set_attribute_mask (GFileInfo *info,
|
||||
GFileAttributeMatcher *mask)
|
||||
{
|
||||
GFileAttribute *attr;
|
||||
int i;
|
||||
guint i;
|
||||
|
||||
g_return_if_fail (G_IS_FILE_INFO (info));
|
||||
|
||||
|
Reference in New Issue
Block a user