summaryrefslogtreecommitdiffstats
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-02-13 03:03:31 +0000
committerpeter <peter@FreeBSD.org>2000-02-13 03:03:31 +0000
commit97c685efe694921d4948ef681efe38f0ad0bac8c (patch)
tree1383726b9f934205189d034d60d65b5fdcddb9ac /sys/dev/ppbus
parent25ea71213a4b34aff82ac734fc8ef0e188ba7160 (diff)
downloadFreeBSD-src-97c685efe694921d4948ef681efe38f0ad0bac8c.zip
FreeBSD-src-97c685efe694921d4948ef681efe38f0ad0bac8c.tar.gz
Fix two warnings.
Diffstat (limited to 'sys/dev/ppbus')
-rw-r--r--sys/dev/ppbus/if_plip.c2
-rw-r--r--sys/dev/ppbus/lpt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppbus/if_plip.c b/sys/dev/ppbus/if_plip.c
index 3ba5b78..7a5f8fc 100644
--- a/sys/dev/ppbus/if_plip.c
+++ b/sys/dev/ppbus/if_plip.c
@@ -197,7 +197,7 @@ lp_probe(device_t dev)
device_t ppbus = device_get_parent(dev);
struct lp_data *lp;
int zero = 0;
- u_long irq;
+ uintptr_t irq;
lp = DEVTOSOFTC(dev);
bzero(lp, sizeof(struct lp_data));
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index d2c979c..b83cc03 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -379,7 +379,7 @@ lpt_attach(device_t dev)
struct lpt_data *sc = DEVTOSOFTC(dev);
int zero = 0, unit = device_get_unit(dev);
int error;
- u_long irq;
+ uintptr_t irq;
sc->sc_primed = 0; /* not primed yet */
OpenPOWER on IntegriCloud