summaryrefslogtreecommitdiffstats
path: root/sys/gnu/i386/isa/dgm.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/gnu/i386/isa/dgm.c')
-rw-r--r--sys/gnu/i386/isa/dgm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/gnu/i386/isa/dgm.c b/sys/gnu/i386/isa/dgm.c
index c10e403..487b1aa 100644
--- a/sys/gnu/i386/isa/dgm.c
+++ b/sys/gnu/i386/isa/dgm.c
@@ -1,5 +1,5 @@
/*-
- * $Id: dgm.c,v 1.2 1998/08/05 20:19:03 brian Exp $
+ * $Id: dgm.c,v 1.3 1998/08/12 17:38:09 bde Exp $
*
* This driver and the associated header files support the ISA PC/Xem
* Digiboards. Its evolutionary roots are described below.
@@ -392,7 +392,7 @@ dgmprobe(dev)
sc->altpin=0;
/* left 24 bits only (ISA address) */
- sc->pmem=((long)dev->id_maddr & 0xFFFFFF);
+ sc->pmem=((intptr_t)(void *)dev->id_maddr & 0xFFFFFF);
DPRINT4(DB_INFO,"dgm%d: port 0x%x mem 0x%lx\n",unit,sc->port,sc->pmem);
OpenPOWER on IntegriCloud