summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok2026-01-11 14:07:05 +0100
committeruvok2026-01-11 14:07:05 +0100
commit6e478760963813e4b9cc2198b9311564d925f6f3 (patch)
tree13dbea526f15142ed47bc67d86e1cebe972ec792
parent7d9445b85cf129a9c3a7b6fd21d7cf414c0f0a52 (diff)
Fix format specifier
-rw-r--r--nandgame/cpp/simpc_ui.cpp2
1 files changed, 1 insertions, 1 deletions
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<Vcomputer> &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",