summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--monitor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/monitor.c b/monitor.c
index 7bad326..574973d 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) {
OpenPOWER on IntegriCloud