From: zoulasc Date: Thu, 16 Jan 2020 20:33:58 +0000 (-0500) Subject: Add missing const X-Git-Tag: v3.4.2~39^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c88c62a8dd44ff5a1900cc27a7103a7152576c1b;p=thirdparty%2Flibarchive.git Add missing const --- diff --git a/libarchive/test/test_write_format_zip_file.c b/libarchive/test/test_write_format_zip_file.c index efac7d883..2868123b0 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;