From 8d18b37a3c43be269db02c272a218b86b6b16051 Mon Sep 17 00:00:00 2001 From: zoulasc Date: Thu, 16 Jan 2020 15:34:16 -0500 Subject: [PATCH] Add missing const --- libarchive/test/test_write_format_zip_file_zip64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libarchive/test/test_write_format_zip_file_zip64.c b/libarchive/test/test_write_format_zip_file_zip64.c index def6809a4..71da98668 100644 --- a/libarchive/test/test_write_format_zip_file_zip64.c +++ b/libarchive/test/test_write_format_zip_file_zip64.c @@ -86,7 +86,7 @@ DEFINE_TEST(test_write_format_zip_file_zip64) 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_compression = 0; -- 2.47.2