Cast a pointer to uintptr_t instead ot u_int.

This commit is contained in:
John Baldwin 2002-11-07 19:56:21 +00:00
parent 6888370488
commit 551d543a17

View File

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