getParameter fills an int*

rather than an unsigned*
for consistency
since type of setParameter() changed to int.
This commit is contained in:
Yann Collet
2018-11-21 15:37:26 -08:00
parent fea920615c
commit d4d4e109e9
5 changed files with 25 additions and 32 deletions
+1 -1
View File
@@ -504,7 +504,7 @@ static int basicUnitTests(U32 seed, double compressibility)
{ ZSTD_CCtx* const cctx = ZSTD_createCCtx();
ZSTD_outBuffer out = {NULL, 0, 0};
ZSTD_inBuffer in = {NULL, 0, 0};
unsigned value;
int value;
CHECK_Z(ZSTD_CCtx_getParameter(cctx, ZSTD_p_compressionLevel, &value));
CHECK_EQ(value, 3);