diff options
author | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 13:47:23 (GMT) |
---|---|---|
committer | Yann Collet <yann.collet.73@gmail.com> | 2015-03-31 13:47:23 (GMT) |
commit | 3bba55c741293dd8162e5afb9eace5e03fcff023 (patch) | |
tree | 94b181c5a6d2357cf01cdc01d01af8bc6c618d25 /programs/frametest.c | |
parent | 7c26b038547e3a488a6cd5fe13df260b6e4d6e08 (diff) | |
download | lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.zip lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.tar.gz lz4-3bba55c741293dd8162e5afb9eace5e03fcff023.tar.bz2 |
Fixed : Windows compilation
Added : Appveyor badge
Diffstat (limited to 'programs/frametest.c')
-rw-r--r-- | programs/frametest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/frametest.c b/programs/frametest.c index 96d5acb..4beee23 100644 --- a/programs/frametest.c +++ b/programs/frametest.c @@ -607,7 +607,7 @@ int fuzzerTests(U32 seed, unsigned nbTests, unsigned startTest, double compressi /* create a skippable frame (rare case) */ BYTE* op = (BYTE*)compressedBuffer; FUZ_writeLE32(op, LZ4F_MAGIC_SKIPPABLE_START + (FUZ_rand(&randState) & 15)); - FUZ_writeLE32(op+4, srcSize); + FUZ_writeLE32(op+4, (U32)srcSize); cSize = srcSize+8; } else if ((FUZ_rand(&randState) & 0xF) == 2) |