aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormark0 <59284400+mark0-cn@users.noreply.github.com>2023-07-31 05:51:24 +0800
committerGitHub <noreply@github.com>2023-07-30 23:51:24 +0200
commit168ade3b70077ec6a24df9fc594e3b8c1db89bd6 (patch)
tree8ff42e8a7cff1fc3f8cca6616f59aab21b4f6046 /src
parentf87ba7ed6324e9d33c2b93da5103344d53218f2c (diff)
downloadafl++-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 'src')
-rw-r--r--src/afl-fuzz-one.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-fuzz-one.c b/src/afl-fuzz-one.c
index 8ee50bbf..f4ae7bfd 100644
--- a/src/afl-fuzz-one.c
+++ b/src/afl-fuzz-one.c
@@ -2995,7 +2995,7 @@ havoc_stage:
// fprintf(stderr, "val: %u-%u = %ld\n", off, off2, val);
char buf[20];
- snprintf(buf, sizeof(buf), "%ld", val);
+ snprintf(buf, sizeof(buf), "%lld", val);
// fprintf(stderr, "BEFORE: %s\n", out_buf);