mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
Fix several signedness warnings in gio/gio-tool-tree.c
gio/gio-tool-tree.c: In function ‘do_tree’: gio/gio-tool-tree.c:124:22: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ 124 | for (n = 0; n < level; n++) | ^ gio/gio-tool-tree.c:197:21: error: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ 197 | for (n = 0; n < level; n++) | ^
This commit is contained in:
parent
a54ebd6860
commit
7c7aec9b31
@ -52,7 +52,7 @@ sort_info_by_name (GFileInfo *a, GFileInfo *b)
|
||||
}
|
||||
|
||||
static void
|
||||
do_tree (GFile *f, int level, guint64 pattern)
|
||||
do_tree (GFile *f, unsigned int level, guint64 pattern)
|
||||
{
|
||||
GFileEnumerator *enumerator;
|
||||
GError *error = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user