summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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