summaryrefslogtreecommitdiffstats
path: root/programs/frametest.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-31 13:47:23 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-31 13:47:23 (GMT)
commit3bba55c741293dd8162e5afb9eace5e03fcff023 (patch)
tree94b181c5a6d2357cf01cdc01d01af8bc6c618d25 /programs/frametest.c
parent7c26b038547e3a488a6cd5fe13df260b6e4d6e08 (diff)
downloadlz4-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.c2
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)