diff options
author | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-09-01 04:25:09 -0400 |
---|---|---|
committer | Michihiro NAKAJIMA <ggcueroad@gmail.com> | 2011-09-01 04:25:09 -0400 |
commit | 3caa7d2f3d95edba576892770a650d433d6d1ad2 (patch) | |
tree | 0ea78e90ba66d30122406f7336b393a19013a933 /libarchive/archive_write_add_filter_compress.c | |
parent | ded05417d689fb12fa623cca6b43b273c6391626 (diff) | |
download | libarchive-3caa7d2f3d95edba576892770a650d433d6d1ad2.tar.gz |
Issue 176: Const-ify several static arrays.
SVN-Revision: 3666
Diffstat (limited to 'libarchive/archive_write_add_filter_compress.c')
-rw-r--r-- | libarchive/archive_write_add_filter_compress.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_write_add_filter_compress.c b/libarchive/archive_write_add_filter_compress.c index 32b06582..465ff0e7 100644 --- a/libarchive/archive_write_add_filter_compress.c +++ b/libarchive/archive_write_add_filter_compress.c @@ -215,7 +215,7 @@ archive_compressor_compress_open(struct archive_write_filter *f) * code in turn. When the buffer fills up empty it and start over. */ -static unsigned char rmask[9] = +static const unsigned char rmask[9] = {0x00, 0x01, 0x03, 0x07, 0x0f, 0x1f, 0x3f, 0x7f, 0xff}; static int |