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:
Emmanuel Fleury 2020-11-17 22:59:00 +01:00
parent a54ebd6860
commit 7c7aec9b31

View File

@ -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;