summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/ppbus/lpt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ppbus/lpt.c b/sys/dev/ppbus/lpt.c
index cb72aa0..9364c50 100644
--- a/sys/dev/ppbus/lpt.c
+++ b/sys/dev/ppbus/lpt.c
@@ -376,7 +376,7 @@ lpt_attach(device_t dev)
struct lpt_data *sc = DEVTOSOFTC(dev);
int zero = 0, unit = device_get_unit(dev);
int error;
- uintptr_t irq;
+ intptr_t irq;
sc->sc_primed = 0; /* not primed yet */
@@ -405,7 +405,7 @@ lpt_attach(device_t dev)
sc->sc_irq = 0;
device_printf(dev, "Polled port\n");
}
- lprintf(("irq %x %x\n", irq, sc->sc_irq));
+ lprintf(("irq %x %x\n", (int)irq, sc->sc_irq));
lpt_release_ppbus(dev);
OpenPOWER on IntegriCloud