aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
Diffstat (limited to 'monitor.c')
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 7bad3263d6..574973da68 100644
--- a/monitor.c
+++ b/monitor.c
@@ -750,7 +750,7 @@ static void do_physical_memory_save(unsigned int valh, unsigned int vall,
FILE *f;
uint32_t l;
uint8_t buf[1024];
- target_long addr = GET_TLONG(valh, vall);
+ target_phys_addr_t addr = GET_TPHYSADDR(valh, vall);
f = fopen(filename, "wb");
if (!f) {