From 4ba3f7ceb9db035a12e77af02259a7c951eceb1b Mon Sep 17 00:00:00 2001 From: Luke Wren Date: Tue, 24 May 2022 16:17:30 +0100 Subject: [PATCH] Fix format warning in tb.cpp on arm64 --- test/sim/tb_cxxrtl/tb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/sim/tb_cxxrtl/tb.cpp b/test/sim/tb_cxxrtl/tb.cpp index c3fd905..2c12080 100644 --- a/test/sim/tb_cxxrtl/tb.cpp +++ b/test/sim/tb_cxxrtl/tb.cpp @@ -556,7 +556,7 @@ int main(int argc, char **argv) { if (memio.exit_req) { printf("CPU requested halt. Exit code %d\n", memio.exit_code); - printf("Ran for %ld cycles\n", cycle + 1); + printf("Ran for %lld cycles\n", cycle + 1); break; } if (cycle + 1 == max_cycles)