summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memory.c b/memory.c
index f5da796..2dab75c 100644
--- a/memory.c
+++ b/memory.c
@@ -222,7 +222,7 @@ int read_word(int debug, struct memory_mapping *memory_mapping,
*result = *virt_addr;
if (debug)
- printf("%s: addr=0x%llx, result=0x%x\n",
+ printf("%s: addr=0x%llx, result=0x%lx\n",
__func__, (long long int)addr, *result);
return 0;