summaryrefslogtreecommitdiffstats
path: root/sys/mips/mips/dump_machdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/mips/dump_machdep.c')
-rw-r--r--sys/mips/mips/dump_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/mips/dump_machdep.c b/sys/mips/mips/dump_machdep.c
index 78938de..412c94d 100644
--- a/sys/mips/mips/dump_machdep.c
+++ b/sys/mips/mips/dump_machdep.c
@@ -182,7 +182,7 @@ cb_dumpdata(struct md_pa *mdp, int seqnr, void *arg)
counter &= (1<<24) - 1;
}
- error = dump_write(di, (void *)(pa),0, dumplo, sz);
+ error = dump_write(di, (void *)(intptr_t)(pa),0, dumplo, sz); /* XXX fix PA */
if (error)
break;
dumplo += sz;
OpenPOWER on IntegriCloud