mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
Fix signedness warning in gio/gio-tool.c:attribute_flags_to_string()
gio/gio-tool.c: In function ‘attribute_flags_to_string’: gio/gio-tool.c:171:17: error: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ 171 | for (i = 0; i < G_N_ELEMENTS (flag_descr); i++) | ^
This commit is contained in:
@@ -149,7 +149,7 @@ char *
|
||||
attribute_flags_to_string (GFileAttributeInfoFlags flags)
|
||||
{
|
||||
GString *s;
|
||||
int i;
|
||||
gsize i;
|
||||
gboolean first;
|
||||
struct {
|
||||
guint32 mask;
|
||||
|
Reference in New Issue
Block a user