fix warning in afl-fuzz-run, tested with '-m32' also

This commit is contained in:
hexcoder-
2020-03-28 08:38:50 +01:00
committed by Dominik Maier
parent 78d73720a2
commit 738a245c3e

View File

@ -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);