summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1998-11-20 06:58:52 +0000
committerJason Downs <downsj@cvs.openbsd.org>1998-11-20 06:58:52 +0000
commit23e2f926c09ef91b249253a876e4d13cf9190b33 (patch)
tree6ea4a18603c84a6f87a9abe8c3a056c1c43c3ce8 /sys/arch
parente2f43b6cd997f5ff3f7ae872a0382fad32dc2573 (diff)
Add cast, from NetBSD.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/hp300/mem.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/hp300/hp300/mem.c b/sys/arch/hp300/hp300/mem.c
index d2d0bb61324..d8cda1d3e75 100644
--- a/sys/arch/hp300/hp300/mem.c
+++ b/sys/arch/hp300/hp300/mem.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mem.c,v 1.7 1998/08/31 17:42:28 millert Exp $ */
+/* $OpenBSD: mem.c,v 1.8 1998/11/20 06:58:51 downsj Exp $ */
/* $NetBSD: mem.c,v 1.17 1997/06/10 18:51:31 veego Exp $ */
/*
@@ -235,7 +235,7 @@ mmmmap(dev, off, prot)
/*
* Allow access only in RAM.
*/
- if ((unsigned)off < lowram || (unsigned)off >= 0xFFFFFFFC)
+ if ((u_int)off < lowram || (u_int)off >= 0xFFFFFFFC)
return (-1);
- return (m68k_btop(off));
+ return (m68k_btop((u_int)off));
}