aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/easy_encoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/liblzma/common/easy_encoder.c')
-rw-r--r--src/liblzma/common/easy_encoder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/liblzma/common/easy_encoder.c b/src/liblzma/common/easy_encoder.c
index cbabdb85..5e2641c9 100644
--- a/src/liblzma/common/easy_encoder.c
+++ b/src/liblzma/common/easy_encoder.c
@@ -45,7 +45,7 @@ static lzma_ret
easy_encoder_init(lzma_next_coder *next, lzma_allocator *allocator,
uint32_t preset, lzma_check check)
{
- lzma_next_coder_init(easy_encoder_init, next, allocator);
+ lzma_next_coder_init(&easy_encoder_init, next, allocator);
if (next->coder == NULL) {
next->coder = lzma_alloc(sizeof(lzma_coder), allocator);