diff --git a/sys/compat/osf1/osf1_mmap.c b/sys/compat/osf1/osf1_mmap.c index 3661e17450c3..a3fdd3d6d744 100644 --- a/sys/compat/osf1/osf1_mmap.c +++ b/sys/compat/osf1/osf1_mmap.c @@ -1,4 +1,4 @@ -/* $NetBSD: osf1_mmap.c,v 1.4 2000/03/26 20:42:42 kleink Exp $ */ +/* $NetBSD: osf1_mmap.c,v 1.5 2000/04/11 05:26:27 chs Exp $ */ /* * Copyright (c) 1999 Christopher G. Demetriou. All rights reserved. @@ -175,7 +175,7 @@ osf1_sys_mmap(p, v, retval) */ if ((SCARG(&a, flags) & MAP_FIXED) == 0) { vaddr_t addr = round_page((vaddr_t)SCARG(&a, addr)); - vsize_t size = round_page(SCARG(&a, len)); + vsize_t size = round_page((vsize_t)SCARG(&a, len)); int fixed = 0; vm_map_lock(&p->p_vmspace->vm_map);