diff options
Diffstat (limited to 'sys/arch/mvme68k/dev/vmel.c')
-rw-r--r-- | sys/arch/mvme68k/dev/vmel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/dev/vmel.c b/sys/arch/mvme68k/dev/vmel.c index aba946017de..b27ccdec6c1 100644 --- a/sys/arch/mvme68k/dev/vmel.c +++ b/sys/arch/mvme68k/dev/vmel.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmel.c,v 1.6 2001/11/01 12:13:46 art Exp $ */ +/* $OpenBSD: vmel.c,v 1.7 2001/11/05 19:45:34 art Exp $ */ /* * Copyright (c) 1995 Theo de Raadt @@ -165,7 +165,7 @@ vmelmmap(dev, off, prot) struct vmelsoftc *sc = (struct vmelsoftc *) vmel_cd.cd_devs[unit]; void * pa; - pa = vmepmap(sc->sc_vme, (void *)off, NBPG, BUS_VMEL); + pa = vmepmap(sc->sc_vme, (void *)(int)off, NBPG, BUS_VMEL); printf("vmel %x pa %x\n", off, pa); if (pa == NULL) return (-1); |