From 1c0a0095093768bd818d5dc56645121afa1d48bc Mon Sep 17 00:00:00 2001 From: Lauri Kasanen Date: Thu, 27 May 2021 15:44:28 +0300 Subject: [PATCH] 64-bit --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index a329e22..e6c3f85 100644 --- a/main.c +++ b/main.c @@ -185,7 +185,7 @@ static void load(const char arg[], uint8_t *ram) { exit(1); } - printf("Loading %s to 0x%x, %u bytes\n", name, addr, len); + printf("Loading %s to 0x%lx, %u bytes\n", name, addr, len); if (fread(&ram[addr], len, 1, f) != 1) abort(); -- 2.30.2