1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Fix two warnings.

This commit is contained in:
Peter Wemm 2000-02-13 03:03:31 +00:00
parent fad85240d4
commit 84a5b01504
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57177
2 changed files with 2 additions and 2 deletions

View File

@ -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));

View File

@ -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 */