]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Fix compile issue with ZSTD_LEGACY_SUPPORT=1 and ZSTD_HEAPMODE=0 252/head 253/head
authorChristopher Bergqvist <christopher.bergqvist@frostbite.com>
Tue, 19 Jul 2016 11:25:38 +0000 (13:25 +0200)
committerChristopher Bergqvist <christopher.bergqvist@frostbite.com>
Tue, 19 Jul 2016 11:25:38 +0000 (13:25 +0200)
lib/legacy/zstd_v04.c

index 35469048a7ba484dc4c139a3c720f4edb5d93f70..4383c8576d345cb550a31eba6a489e62a1e0f2c6 100644 (file)
@@ -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
 }