diff options
author | hexcoder- <heiko@hexco.de> | 2020-03-28 08:38:50 +0100 |
---|---|---|
committer | Dominik Maier <domenukk@gmail.com> | 2020-04-01 13:10:06 +0200 |
commit | 738a245c3eed6ad360591e58cce757c90fb3f490 (patch) | |
tree | a6b4b2339f246c0f34a5da5ff3e72543066d448f /src | |
parent | 78d73720a2cd05e4e5b88d16b274d0ae26211d79 (diff) | |
download | afl++-738a245c3eed6ad360591e58cce757c90fb3f490.tar.gz |
fix warning in afl-fuzz-run, tested with '-m32' also
Diffstat (limited to 'src')
-rw-r--r-- | src/afl-fuzz-run.c | 2 |
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); |