add a cast for clarity.
This commit is contained in:
parent
2665e61925
commit
45c43091fb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user