From 780a9fa8578f10b9d1d8802716eeac8633810654 Mon Sep 17 00:00:00 2001 From: Christopher Bergqvist Date: Tue, 19 Jul 2016 13:25:38 +0200 Subject: [PATCH] Fix compile issue with ZSTD_LEGACY_SUPPORT=1 and ZSTD_HEAPMODE=0 --- lib/legacy/zstd_v04.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/legacy/zstd_v04.c b/lib/legacy/zstd_v04.c index 35469048a..4383c8576 100644 --- a/lib/legacy/zstd_v04.c +++ b/lib/legacy/zstd_v04.c @@ -4037,7 +4037,7 @@ size_t ZSTDv04_decompress(void* dst, size_t maxDstSize, const void* src, size_t return regenSize; #else ZSTD_DCtx dctx; - return ZSTD_decompressDCtx(&dctx, dst, maxDstSize, src, srcSize); + return ZSTDv04_decompressDCtx(&dctx, dst, maxDstSize, src, srcSize); #endif } -- 2.47.2