Merge pull request #253 from gymdis/heapmode_off_legacy_fix

Fix compile issue with ZSTD_LEGACY_SUPPORT=1 and ZSTD_HEAPMODE=0
dev
Yann Collet 2016-07-19 13:52:03 +02:00 committed by GitHub
commit 572b817be3
1 changed files with 1 additions and 1 deletions

View File

@ -4024,7 +4024,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
}