summaryrefslogtreecommitdiff
path: root/src/fr-command-tar.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-08-27 13:14:49 +0200
committerZenWalker <[email protected]>2019-09-05 01:54:52 +0200
commite74151786c1ec24929560438590597b493f212e1 (patch)
treeedb0e1eed3eacdf82501b541e56ce1496bd88b8b /src/fr-command-tar.c
parent3022fd87f4360dcd8458be65e468e065cbc1e8a5 (diff)
downloadengrampa-e74151786c1ec24929560438590597b493f212e1.tar.bz2
engrampa-e74151786c1ec24929560438590597b493f212e1.tar.xz
comparison of integer expressions of different signedness: ‘size_t’
Diffstat (limited to 'src/fr-command-tar.c')
-rw-r--r--src/fr-command-tar.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c
index e24e296..0c17433 100644
--- a/src/fr-command-tar.c
+++ b/src/fr-command-tar.c
@@ -1102,8 +1102,8 @@ fr_command_tar_get_capabilities (FrCommand *comm,
capabilities |= FR_COMMAND_CAN_READ_WRITE;
}
else if (is_mime_type (mime_type, "application/x-7z-compressed-tar")) {
- char *try_command[3] = { "7za", "7zr", "7z" };
- int i;
+ char *try_command[3] = { "7za", "7zr", "7z" };
+ size_t i;
for (i = 0; i < G_N_ELEMENTS (try_command); i++) {
if (is_program_available (try_command[i], check_command)) {
@@ -1126,8 +1126,8 @@ fr_command_tar_set_mime_type (FrCommand *comm,
FR_COMMAND_CLASS (parent_class)->set_mime_type (comm, mime_type);
if (is_mime_type (mime_type, "application/x-7z-compressed-tar")) {
- char *try_command[3] = { "7za", "7zr", "7z" };
- int i;
+ char *try_command[3] = { "7za", "7zr", "7z" };
+ size_t i;
for (i = 0; i < G_N_ELEMENTS (try_command); i++) {
if (is_program_in_path (try_command[i])) {