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