From 8a7cd9c632c6090f52aee7925b7611093a73aa73 Mon Sep 17 00:00:00 2001 From: sidney Date: Thu, 19 Dec 2024 03:04:55 +0100 Subject: [PATCH] Fixed format string. --- src/sim65/error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sim65/error.c b/src/sim65/error.c index 3618d660f..58c188676 100644 --- a/src/sim65/error.c +++ b/src/sim65/error.c @@ -118,7 +118,7 @@ void SimExit (int Code) /* Exit the simulation with an exit code */ { if (PrintCycles) { - fprintf (stdout, PRIu64 " cycles\n", PRegs.counter_clock_cycles); + fprintf (stdout, "%" PRIu64 " cycles\n", PRegs.counter_clock_cycles); } exit (Code); }