diff options
-rw-r--r-- | sys/arch/hp300/hp300/mem.c | 6 |
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)); } |