aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ppbus
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-11-07 17:20:58 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-11-07 17:20:58 +0000
commit9e14a48a03753f3afd4143878b71f2c8f29844b0 (patch)
treeaaf60d7915d3c677255dfca5f5b71620f806d8b6 /sys/dev/ppbus
parent962cf6f7bba91928ec69642bddbe91ca8c1db163 (diff)
Notes
Diffstat (limited to 'sys/dev/ppbus')
-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 cb72aa071234..9364c5033659 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);