Better solution for ARM64 build fix (#315)

This commit is contained in:
David CARLIER
2020-04-12 15:55:52 +01:00
committed by GitHub
parent 5a8db5954c
commit 7919545499
14 changed files with 53 additions and 57 deletions

View File

@ -909,7 +909,7 @@ int main(int argc, char **argv, char **envp) {
}
if (sscanf(optarg, "%" PRIu64 "%c", &mem_limit, &suffix) < 1 ||
if (sscanf(optarg, "%llu%c", &mem_limit, &suffix) < 1 ||
optarg[0] == '-')
FATAL("Bad syntax used for -m");
@ -1013,7 +1013,7 @@ int main(int argc, char **argv, char **envp) {
read_initial_file();
ACTF("Performing dry run (mem limit = %" PRIu64 " MB, timeout = %u ms%s)...",
ACTF("Performing dry run (mem limit = %llu MB, timeout = %u ms%s)...",
mem_limit, exec_tmout, edges_only ? ", edges only" : "");
run_target(use_argv, in_data, in_len, 1);