mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 01:48:53 +02:00
Fix signedness warning in gio/gfileinfo.c:g_file_info_find_value()
gio/gfileinfo.c: In function ‘g_file_info_find_value’: gio/gfileinfo.c:543:9: error: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} 543 | if (i < info->attributes->len && | ^
This commit is contained in:
@@ -536,7 +536,7 @@ g_file_info_find_value (GFileInfo *info,
|
|||||||
guint32 attr_id)
|
guint32 attr_id)
|
||||||
{
|
{
|
||||||
GFileAttribute *attrs;
|
GFileAttribute *attrs;
|
||||||
int i;
|
guint i;
|
||||||
|
|
||||||
i = g_file_info_find_place (info, attr_id);
|
i = g_file_info_find_place (info, attr_id);
|
||||||
attrs = (GFileAttribute *)info->attributes->data;
|
attrs = (GFileAttribute *)info->attributes->data;
|
||||||
|
Reference in New Issue
Block a user