summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-07 19:56:21 +0000
committerjhb <jhb@FreeBSD.org>2002-11-07 19:56:21 +0000
commitbe0579f238a6357f7ca9b100c2775f99ddabe873 (patch)
tree0f08400384976fefc12882bc3720a06ebc53833a /sys/dev/si
parent3a6aeba622d2d593f7592b562dfdc89bfaa9683b (diff)
downloadFreeBSD-src-be0579f238a6357f7ca9b100c2775f99ddabe873.zip
FreeBSD-src-be0579f238a6357f7ca9b100c2775f99ddabe873.tar.gz
Cast a pointer to uintptr_t instead ot u_int.
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si_isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/si/si_isa.c b/sys/dev/si/si_isa.c
index 69b4f50..c51046b 100644
--- a/sys/dev/si/si_isa.c
+++ b/sys/dev/si/si_isa.c
@@ -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;
}
OpenPOWER on IntegriCloud