about summary refs log tree commit diff
path: root/src/afl-fuzz-run.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz-run.c')
-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);