aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/test/test_write_format_zip_file.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/test/test_write_format_zip_file.c')
-rw-r--r--libarchive/test/test_write_format_zip_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_write_format_zip_file.c b/libarchive/test/test_write_format_zip_file.c
index e27b23b4b6d1..9ac0126e5ace 100644
--- a/libarchive/test/test_write_format_zip_file.c
+++ b/libarchive/test/test_write_format_zip_file.c
@@ -84,7 +84,7 @@ DEFINE_TEST(test_write_format_zip_file)
unsigned char *central_header, *local_header, *eocd, *eocd_record;
unsigned char *extension_start, *extension_end;
char file_data[] = {'1', '2', '3', '4', '5', '6', '7', '8'};
- char *file_name = "file";
+ const char *file_name = "file";
#ifndef HAVE_ZLIB_H
zip_version = 10;