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:
parent
fad85240d4
commit
84a5b01504
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=57177
@ -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));
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user