diff options
author | Tim Zakian <2895723+tzakian@users.noreply.github.com> | 2019-01-09 19:17:46 (GMT) |
---|---|---|
committer | Tim Zakian <2895723+tzakian@users.noreply.github.com> | 2019-01-09 19:17:46 (GMT) |
commit | 4ec29b0fab4661d33c50cd7c6cd9da930b302c27 (patch) | |
tree | dc758ad7ba58cf3e57f6e49f6d044319a6167199 /tests | |
parent | 81937422514f5b6847d1a99cd5315449ec59566e (diff) | |
download | lz4-4ec29b0fab4661d33c50cd7c6cd9da930b302c27.zip lz4-4ec29b0fab4661d33c50cd7c6cd9da930b302c27.tar.gz lz4-4ec29b0fab4661d33c50cd7c6cd9da930b302c27.tar.bz2 |
Fix C90 compatibility issue
Diffstat (limited to 'tests')
-rw-r--r-- | tests/frametest.c | 3 |
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", |