summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k/dev/asc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k/dev/asc.c')
-rw-r--r--sys/arch/mac68k/dev/asc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mac68k/dev/asc.c b/sys/arch/mac68k/dev/asc.c
index 4904348891c..bf1bb50b386 100644
--- a/sys/arch/mac68k/dev/asc.c
+++ b/sys/arch/mac68k/dev/asc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: asc.c,v 1.18 2005/04/24 22:25:12 martin Exp $ */
+/* $OpenBSD: asc.c,v 1.19 2005/07/23 23:28:58 martin Exp $ */
/* $NetBSD: asc.c,v 1.20 1997/02/24 05:47:33 scottr Exp $ */
/*
@@ -284,7 +284,7 @@ ascmmap(dev, off, prot)
sc = asc_cd.cd_devs[unit];
if (off >= 0 && off < MAC68K_ASC_LEN) {
- pmap_extract(pmap_kernel(), (vm_offset_t)sc->sc_handle, &pa);
+ pmap_extract(pmap_kernel(), (vaddr_t)sc->sc_handle, &pa);
return m68k_btop(pa + off);
}