diff options
Diffstat (limited to 'sys/gnu/i386/isa/dgb.c')
-rw-r--r-- | sys/gnu/i386/isa/dgb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/gnu/i386/isa/dgb.c b/sys/gnu/i386/isa/dgb.c index 06f1679..9537c12 100644 --- a/sys/gnu/i386/isa/dgb.c +++ b/sys/gnu/i386/isa/dgb.c @@ -1,5 +1,5 @@ /*- - * dgb.c $Id: dgb.c,v 1.37 1998/08/12 16:16:10 bde Exp $ + * dgb.c $Id: dgb.c,v 1.38 1998/08/12 23:44:22 brian Exp $ * * Digiboard driver. * @@ -419,7 +419,7 @@ dgbprobe(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,"dgb%d: port 0x%x mem 0x%lx\n",unit,sc->port,sc->pmem); @@ -493,7 +493,7 @@ dgbprobe(dev) dev->id_unit, sc->pmem, sc->pmem & 0xFFE000); - dev->id_maddr= (u_char *)( (long)sc->pmem & 0xFFE000 ); + dev->id_maddr= (u_char *)(void *)(intptr_t)( sc->pmem & 0xFFE000 ); } } } |