diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/vmel.c')
-rw-r--r-- | sys/arch/mvme68k/dev/vmel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/mvme68k/dev/vmel.c b/sys/arch/mvme68k/dev/vmel.c index b4b8af222ac..a16bf0824b3 100644 --- a/sys/arch/mvme68k/dev/vmel.c +++ b/sys/arch/mvme68k/dev/vmel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmel.c,v 1.13 2005/10/27 16:04:08 martin Exp $ */ +/* $OpenBSD: vmel.c,v 1.14 2005/11/24 22:43:16 miod Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -162,9 +162,9 @@ vmelmmap(dev, off, prot) { int unit = minor(dev); struct vmelsoftc *sc = (struct vmelsoftc *) vmel_cd.cd_devs[unit]; - void *pa; + paddr_t pa; - pa = vmepmap(sc->sc_vme, (void *)(int)off, NBPG, BUS_VMEL); + pa = vmepmap(sc->sc_vme, (vaddr_t)off, NBPG, BUS_VMEL); #ifdef DEBUG printf("vmel %llx pa %p\n", off, pa); #endif |