aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/lzma/lzma_decoder.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-27 18:43:07 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-27 18:43:07 +0200
commit9a304bf1e45b3ddf61aaeaa7c764915b34618ede (patch)
tree9242bf622bf8e480df9876e46efcdf36b07ddd6f /src/liblzma/lzma/lzma_decoder.h
parentliblzma: Pass the Filter ID to LZ encoder and decoder. (diff)
downloadxz-9a304bf1e45b3ddf61aaeaa7c764915b34618ede.tar.xz
liblzma: Avoid unneeded use of void pointer in LZMA decoder.
Diffstat (limited to 'src/liblzma/lzma/lzma_decoder.h')
-rw-r--r--src/liblzma/lzma/lzma_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/lzma/lzma_decoder.h b/src/liblzma/lzma/lzma_decoder.h
index fa8ecb23..1427bc24 100644
--- a/src/liblzma/lzma/lzma_decoder.h
+++ b/src/liblzma/lzma/lzma_decoder.h
@@ -42,7 +42,7 @@ extern bool lzma_lzma_lclppb_decode(
/// LZMA2 decoders.
extern lzma_ret lzma_lzma_decoder_create(
lzma_lz_decoder *lz, const lzma_allocator *allocator,
- const void *opt, lzma_lz_options *lz_options);
+ const lzma_options_lzma *opt, lzma_lz_options *lz_options);
/// Gets memory usage without validating lc/lp/pb. This is used by LZMA2
/// decoder, because raw LZMA2 decoding doesn't need lc/lp/pb.