From: Meghna Malhotra Date: Sun, 2 Feb 2020 02:26:14 +0000 (-0800) Subject: Fixed tests to use correct workspace size X-Git-Tag: v1.4.5^2~51^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc7c29595d7591eb901973bf9c5fc6c854d086ca;p=thirdparty%2Fzstd.git Fixed tests to use correct workspace size --- diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index af961bfd0..a46fc24d8 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -185,7 +185,7 @@ BYTE SEQUENCE_LLCODE[ZSTD_BLOCKSIZE_MAX]; BYTE SEQUENCE_MLCODE[ZSTD_BLOCKSIZE_MAX]; BYTE SEQUENCE_OFCODE[ZSTD_BLOCKSIZE_MAX]; -unsigned WKSP[1024]; +unsigned WKSP[HUF_WORKSPACE_SIZE_U32]; typedef struct { size_t contentSize; /* 0 means unknown (unless contentSize == windowSize == 0) */