aboutsummaryrefslogtreecommitdiff
path: root/src/zlib-ng/test/fuzz/example_small_fuzzer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zlib-ng/test/fuzz/example_small_fuzzer.c')
-rw-r--r--src/zlib-ng/test/fuzz/example_small_fuzzer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zlib-ng/test/fuzz/example_small_fuzzer.c b/src/zlib-ng/test/fuzz/example_small_fuzzer.c
index df8426c..d02a812 100644
--- a/src/zlib-ng/test/fuzz/example_small_fuzzer.c
+++ b/src/zlib-ng/test/fuzz/example_small_fuzzer.c
@@ -40,7 +40,7 @@ void test_deflate(unsigned char *compr, size_t comprLen) {
err = PREFIX(deflateInit)(&c_stream, Z_DEFAULT_COMPRESSION);
CHECK_ERR(err, "deflateInit");
- c_stream.next_in = (const unsigned char *)data;
+ c_stream.next_in = (z_const unsigned char *)data;
c_stream.next_out = compr;
while (c_stream.total_in != len && c_stream.total_out < comprLen) {