Cast a pointer to uintptr_t instead ot u_int.
This commit is contained in:
parent
6888370488
commit
551d543a17
@ -78,7 +78,7 @@ si_isa_probe(device_t dev)
|
||||
goto fail;
|
||||
}
|
||||
|
||||
if (((u_int)paddr & 0x7fff) != 0) {
|
||||
if (((uintptr_t)paddr & 0x7fff) != 0) {
|
||||
device_printf(dev, "maddr (%p) not on 32k boundary\n", paddr);
|
||||
goto fail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user