From cc7c29595d7591eb901973bf9c5fc6c854d086ca Mon Sep 17 00:00:00 2001 From: Meghna Malhotra Date: Sat, 1 Feb 2020 18:26:14 -0800 Subject: [PATCH] Fixed tests to use correct workspace size --- tests/decodecorpus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index af961bfd..a46fc24d 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) */