internalhpib is now caddr_t
authorMike Hibler <hibler@ucbvax.Berkeley.EDU>
Wed, 8 May 1991 00:49:04 +0000 (16:49 -0800)
committerMike Hibler <hibler@ucbvax.Berkeley.EDU>
Wed, 8 May 1991 00:49:04 +0000 (16:49 -0800)
SCCS-vsn: sys/hp300/dev/nhpib.c 7.4

usr/src/sys/hp300/dev/nhpib.c

index 67d802e..74c0ca2 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)nhpib.c     7.3 (Berkeley) %G%
+ *     @(#)nhpib.c     7.4 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -28,7 +28,7 @@ nhpibtype(hc)
        register struct hpib_softc *hs = &hpib_softc[hc->hp_unit];
        register struct nhpibdevice *hd = (struct nhpibdevice *)hc->hp_addr;
 
        register struct hpib_softc *hs = &hpib_softc[hc->hp_unit];
        register struct nhpibdevice *hd = (struct nhpibdevice *)hc->hp_addr;
 
-       if ((int)hc->hp_addr == internalhpib) {
+       if (hc->hp_addr == internalhpib) {
                hs->sc_type = HPIBA;
                hs->sc_ba = HPIBA_BA;
                hc->hp_ipl = HPIBA_IPL;
                hs->sc_type = HPIBA;
                hs->sc_ba = HPIBA_BA;
                hc->hp_ipl = HPIBA_IPL;