summaryrefslogtreecommitdiff
path: root/test/fuzz/example_small_fuzzer.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/fuzz/example_small_fuzzer.c')
-rw-r--r--test/fuzz/example_small_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fuzz/example_small_fuzzer.c b/test/fuzz/example_small_fuzzer.c
index f5caa97eb1..df8426c80a 100644
--- a/test/fuzz/example_small_fuzzer.c
+++ b/test/fuzz/example_small_fuzzer.c
@@ -31,7 +31,7 @@ static free_func zfree = NULL;
void test_deflate(unsigned char *compr, size_t comprLen) {
PREFIX3(stream) c_stream; /* compression stream */
int err;
- unsigned long len = dataLen;
+ unsigned long len = (unsigned long)dataLen;
c_stream.zalloc = zalloc;
c_stream.zfree = zfree;