aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c
index 9ba2c5f7..315539d1 100644
--- a/src/afl-fuzz-run.c
+++ b/src/afl-fuzz-run.c
@@ -222,7 +222,7 @@ void write_to_testcase(afl_state_t *afl, void *mem, u32 len) {
len, &new_buf);
if (unlikely(new_size <= 0 || !new_buf))
- FATAL("Custom_pre_save failed (ret: %ld)", new_size);
+ FATAL("Custom_pre_save failed (ret: %lu)", (long unsigned)new_size);
/* everything as planned. use the new data. */
ck_write(fd, new_buf, new_size, afl->fsrv.out_file);