diff options
| author | David CARLIER <devnexen@gmail.com> | 2020-04-12 15:55:52 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-12 16:55:52 +0200 |
| commit | 79195454993b6cfff6b03354dbf1e045e77f83cb (patch) | |
| tree | 314795c419d2d78d7f043df4bc0d42a5c09e5b8f /src/afl-showmap.c | |
| parent | 5a8db5954cac56cffa4f0066476db210dca4d330 (diff) | |
| download | afl++-79195454993b6cfff6b03354dbf1e045e77f83cb.tar.gz | |
Better solution for ARM64 build fix (#315)
Diffstat (limited to 'src/afl-showmap.c')
| -rw-r--r-- | src/afl-showmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c index 6c2b2000..c84fa36c 100644 --- a/src/afl-showmap.c +++ b/src/afl-showmap.c @@ -720,7 +720,7 @@ int main(int argc, char **argv_orig, char **envp) { } - if (sscanf(optarg, "%" PRIu64 "%c", &fsrv->mem_limit, &suffix) < 1 || + if (sscanf(optarg, "%llu%c", &fsrv->mem_limit, &suffix) < 1 || optarg[0] == '-') FATAL("Bad syntax used for -m"); |
