summaryrefslogtreecommitdiffstats
path: root/programs/frametest.c
diff options
context:
space:
mode:
authorYann Collet <yann.collet.73@gmail.com>2015-03-31 12:17:38 (GMT)
committerYann Collet <yann.collet.73@gmail.com>2015-03-31 12:17:38 (GMT)
commit8437a0e43aa5086ec2c23591909e118a85c3d8dd (patch)
treeaab3ca7f5cd39661d53e3fbef70bdca0e5043cda /programs/frametest.c
parenteeb8bea34c2df279307eaed922f3a89cc420316c (diff)
downloadlz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.zip
lz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.tar.gz
lz4-8437a0e43aa5086ec2c23591909e118a85c3d8dd.tar.bz2
Fixed : Visual compilation
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)