aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_write_set_format.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_write_set_format.c')
-rw-r--r--libarchive/archive_write_set_format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_set_format.c b/libarchive/archive_write_set_format.c
index 12de08077534..7dbe7b9a2c14 100644
--- a/libarchive/archive_write_set_format.c
+++ b/libarchive/archive_write_set_format.c
@@ -82,7 +82,7 @@ void
__archive_write_entry_filetype_unsupported(struct archive *a,
struct archive_entry *entry, const char *format)
{
- char *name = NULL;
+ const char *name = NULL;
switch (archive_entry_filetype(entry)) {
/*