Fixed tests to use correct workspace size

This commit is contained in:
Meghna Malhotra 2020-02-01 18:26:14 -08:00
parent fe8402b522
commit cc7c29595d

View File

@ -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) */