aboutsummaryrefslogtreecommitdiff
path: root/monitor.c
diff options
context:
space:
mode:
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 20:14:43 +0000
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>2008-04-12 20:14:43 +0000
commit339dea2774fbfb7092cc35a061849c0cb448618d (patch)
treea333e998c517d86d8dad7091305b7cad8857312c /monitor.c
parent796d828610a6da049671a3391cc18ddeaba5e3dc (diff)
Use correct memory types in do_physical_memory_save()
(Stuart Brady) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4198 c046a42c-6fe2-441c-8c8c-71466251a162
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) {