diff options
author | mark0 <59284400+mark0-cn@users.noreply.github.com> | 2023-07-31 05:51:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-30 23:51:24 +0200 |
commit | 168ade3b70077ec6a24df9fc594e3b8c1db89bd6 (patch) | |
tree | 8ff42e8a7cff1fc3f8cca6616f59aab21b4f6046 /include/afl-mutations.h | |
parent | f87ba7ed6324e9d33c2b93da5103344d53218f2c (diff) | |
download | afl++-168ade3b70077ec6a24df9fc594e3b8c1db89bd6.tar.gz |
Fix format specifiers (#1818)
* Update afl-mutations.h Fix bug: compilation cannot pass when DEBUG macro is enabled * Update afl-fuzz-one.c Fix bug: compilation cannot pass when DEBUG macro is enabled
Diffstat (limited to 'include/afl-mutations.h')
-rw-r--r-- | include/afl-mutations.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/afl-mutations.h b/include/afl-mutations.h index 0a9bbbf4..5dde4473 100644 --- a/include/afl-mutations.h +++ b/include/afl-mutations.h @@ -2456,7 +2456,7 @@ inline u32 afl_mutate(afl_state_t *afl, u8 *buf, u32 len, u32 steps, } char buf[20]; - snprintf(buf, sizeof(buf), "%ld", val); + snprintf(buf, sizeof(buf), "%lld", val); u32 old_len = off2 - off; u32 new_len = strlen(buf); |