diff options
Diffstat (limited to 'src/fr-command-tar.c')
-rw-r--r-- | src/fr-command-tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fr-command-tar.c b/src/fr-command-tar.c index 0c17433..62c77a9 100644 --- a/src/fr-command-tar.c +++ b/src/fr-command-tar.c @@ -1102,7 +1102,7 @@ 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" }; + const char *try_command[3] = { "7za", "7zr", "7z" }; size_t i; for (i = 0; i < G_N_ELEMENTS (try_command); i++) { @@ -1126,7 +1126,7 @@ 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" }; + const char *try_command[3] = { "7za", "7zr", "7z" }; size_t i; for (i = 0; i < G_N_ELEMENTS (try_command); i++) { |