From 6e478760963813e4b9cc2198b9311564d925f6f3 Mon Sep 17 00:00:00 2001 From: uvok Date: Sun, 11 Jan 2026 14:07:05 +0100 Subject: Fix format specifier --- nandgame/cpp/simpc_ui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nandgame/cpp/simpc_ui.cpp') diff --git a/nandgame/cpp/simpc_ui.cpp b/nandgame/cpp/simpc_ui.cpp index 8f48554..f00eb4d 100644 --- a/nandgame/cpp/simpc_ui.cpp +++ b/nandgame/cpp/simpc_ui.cpp @@ -51,7 +51,7 @@ void simpc_ui_write(const std::unique_ptr &topp, uint64_t &i, StepPosition_t sp) { uint16_t opcode = topp->computer->PC_content_int; - PRINT_ME(1, 1, "Step: %10d \b%c", i, + PRINT_ME(1, 1, "Step: %10lu \b%c", i, sp == StepPosition_t::BEFORE_EVAL ? 'A' : 'B'); PRINT_ME(2, 1, "%-20s", paused ? "Paused" : "Running"); PRINT_ME(3, NCUR_X, "CLK1: %4d\tPC: @0x%04X\tINS: 0x%04X\tHLT: %d", -- cgit v1.2.3