From 3caa7d2f3d95edba576892770a650d433d6d1ad2 Mon Sep 17 00:00:00 2001 From: Michihiro NAKAJIMA Date: Thu, 1 Sep 2011 04:25:09 -0400 Subject: Issue 176: Const-ify several static arrays. SVN-Revision: 3666 --- libarchive/archive_read_support_format_lha.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libarchive/archive_read_support_format_lha.c') diff --git a/libarchive/archive_read_support_format_lha.c b/libarchive/archive_read_support_format_lha.c index 400b8e22..3dc87c58 100644 --- a/libarchive/archive_read_support_format_lha.c +++ b/libarchive/archive_read_support_format_lha.c @@ -1209,7 +1209,7 @@ lha_read_file_extended_header(struct archive_read *a, struct lha *lha, if (datasize >= 2) { lha->header_crc = archive_le16dec(extdheader); if (crc != NULL) { - static char zeros[2] = {0, 0}; + static const char zeros[2] = {0, 0}; *crc = lha_crc16(*crc, h, extdsize - datasize); /* CRC value itself as zero */ -- cgit v1.2.1