diff options
author | rbuj <[email protected]> | 2019-08-25 15:22:37 +0200 |
---|---|---|
committer | Robert Antoni Buj Gelonch <[email protected]> | 2019-08-28 10:56:50 +0200 |
commit | be1c0f26fc9d0eee7eff330acc4738224253cc3e (patch) | |
tree | 896295766514978db98a40b86adb87f8590387ef /src/fr-archive.c | |
parent | 66076cf781963cd1b781ba8e42d32efcf8fa9180 (diff) | |
download | engrampa-be1c0f26fc9d0eee7eff330acc4738224253cc3e.tar.bz2 engrampa-be1c0f26fc9d0eee7eff330acc4738224253cc3e.tar.xz |
comparison of integers of different signs: 'int' and 'guint'
Fix compiler warning:
comparison of integers of different signs: 'int' and 'guint' (aka 'unsigned int') [-Wsign-compare]
Diffstat (limited to 'src/fr-archive.c')
-rw-r--r-- | src/fr-archive.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fr-archive.c b/src/fr-archive.c index 87c2645..aa0066f 100644 --- a/src/fr-archive.c +++ b/src/fr-archive.c @@ -2517,7 +2517,7 @@ delete_from_archive (FrArchive *archive, /* file_list == NULL means delete all the files in the archive. */ if (file_list == NULL) { - int i; + guint i; for (i = 0; i < archive->command->files->len; i++) { FileData *fdata = g_ptr_array_index (archive->command->files, i); @@ -3073,7 +3073,7 @@ fr_archive_extract_to_local (FrArchive *archive, extract_all = (file_list == NULL); if (extract_all && (! all_options_supported || ! archive->command->propCanExtractAll)) { - int i; + guint i; file_list = NULL; for (i = 0; i < archive->command->files->len; i++) { @@ -3126,7 +3126,7 @@ fr_archive_extract_to_local (FrArchive *archive, && ! archive->command->propExtractCanJunkPaths))); if (extract_all && ! file_list_created) { - int i; + guint i; file_list = NULL; for (i = 0; i < archive->command->files->len; i++) { |