aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/afl-mutations.h2
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);