diff --git a/tests/decodecorpus.c b/tests/decodecorpus.c index 282f959e6..1423ca1a2 100644 --- a/tests/decodecorpus.c +++ b/tests/decodecorpus.c @@ -1316,7 +1316,7 @@ static size_t testDecodeWithDict(U32 seed, size_t dictSize) /* generate random dictionary */ { - int ret = genRandomDict(dictID, seed, dictSize, fullDict); + int const ret = genRandomDict(dictID, seed, dictSize, fullDict); if (ret != 0) { errorDetected = ERROR(GENERIC); goto dictTestCleanup;