X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fdecompress.c;h=f255ea92fd503906cd8a6d73480cde25b8c3adeb;hp=d79865b898d19e9409f47569531aa0ef5f38454b;hb=01ce2d43d6ba9721bf46c3e132c4be394ef3f0f9;hpb=3071e89c11d1be71cf45b694432e5908e0c4ded9 diff --git a/src/decompress.c b/src/decompress.c index d79865b8..f255ea92 100644 --- a/src/decompress.c +++ b/src/decompress.c @@ -36,7 +36,7 @@ struct wimlib_decompressor { void *private; }; -static const struct decompressor_ops *decompressor_ops[] = { +static const struct decompressor_ops * const decompressor_ops[] = { [WIMLIB_COMPRESSION_TYPE_XPRESS] = &xpress_decompressor_ops, [WIMLIB_COMPRESSION_TYPE_LZX] = &lzx_decompressor_ops, [WIMLIB_COMPRESSION_TYPE_LZMS] = &lzms_decompressor_ops,