diff options
author | dfr <dfr@FreeBSD.org> | 1998-10-15 09:53:27 +0000 |
---|---|---|
committer | dfr <dfr@FreeBSD.org> | 1998-10-15 09:53:27 +0000 |
commit | 87a0ba4fba990bae8b267c3e74842c0fcaac6253 (patch) | |
tree | 400e735b9c483a983c43dee3ece1dc096d730871 /sys/powerpc | |
parent | ca8fc411822d4c6ffc5d20a09e6da267b7b7252c (diff) | |
download | FreeBSD-src-87a0ba4fba990bae8b267c3e74842c0fcaac6253.zip FreeBSD-src-87a0ba4fba990bae8b267c3e74842c0fcaac6253.tar.gz |
Change a bogus cast to the correct one.
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/vm_machdep.c | 4 | ||||
-rw-r--r-- | sys/powerpc/powerpc/vm_machdep.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/powerpc/aim/vm_machdep.c b/sys/powerpc/aim/vm_machdep.c index 694df2a..95a41d8 100644 --- a/sys/powerpc/aim/vm_machdep.c +++ b/sys/powerpc/aim/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.2 1998/06/10 19:59:41 dfr Exp $ + * $Id: vm_machdep.c,v 1.3 1998/07/12 16:30:58 dfr Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -369,7 +369,7 @@ grow(p, sp) if ((caddr_t)sp <= vm->vm_maxsaddr || sp >= (size_t) USRSTACK) return (1); - nss = roundup(USRSTACK - (unsigned)sp, PAGE_SIZE); + nss = roundup(USRSTACK - (vm_offset_t)sp, PAGE_SIZE); if (nss > p->p_rlimit[RLIMIT_STACK].rlim_cur) return (0); diff --git a/sys/powerpc/powerpc/vm_machdep.c b/sys/powerpc/powerpc/vm_machdep.c index 694df2a..95a41d8 100644 --- a/sys/powerpc/powerpc/vm_machdep.c +++ b/sys/powerpc/powerpc/vm_machdep.c @@ -38,7 +38,7 @@ * * from: @(#)vm_machdep.c 7.3 (Berkeley) 5/13/91 * Utah $Hdr: vm_machdep.c 1.16.1.1 89/06/23$ - * $Id: vm_machdep.c,v 1.2 1998/06/10 19:59:41 dfr Exp $ + * $Id: vm_machdep.c,v 1.3 1998/07/12 16:30:58 dfr Exp $ */ /* * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. @@ -369,7 +369,7 @@ grow(p, sp) if ((caddr_t)sp <= vm->vm_maxsaddr || sp >= (size_t) USRSTACK) return (1); - nss = roundup(USRSTACK - (unsigned)sp, PAGE_SIZE); + nss = roundup(USRSTACK - (vm_offset_t)sp, PAGE_SIZE); if (nss > p->p_rlimit[RLIMIT_STACK].rlim_cur) return (0); |