summaryrefslogtreecommitdiffstats
path: root/tests/frametest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/frametest.c')
-rw-r--r--tests/frametest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/frametest.c b/tests/frametest.c
index 75fd062..14906a0 100644
--- a/tests/frametest.c
+++ b/tests/frametest.c
@@ -660,7 +660,8 @@ int basicTests(U32 seed, double compressibility)
DISPLAYLEVEL(3, "getBlockSize test: \n");
{ size_t result;
- for (unsigned blockSizeID = 4; blockSizeID < 8; ++blockSizeID) {
+ unsigned blockSizeID;
+ for (blockSizeID = 4; blockSizeID < 8; ++blockSizeID) {
result = LZ4F_getBlockSize(blockSizeID);
CHECK(result);
DISPLAYLEVEL(3, "Returned block size of %zu bytes for blockID %u \n",