diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-05 03:15:23 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-01-05 03:15:23 +0000 |
commit | 17f4ce77c38eac08a021d88ff1904c3597e7558f (patch) | |
tree | 89e80ba8124856951b4b89c7bc31647b9c81c2c4 /sys/compat/ultrix/ultrix_misc.c | |
parent | bae3fcb0cfd3b34e7e50e254daa122463ed46942 (diff) |
type repair; nino@well.ox.ac.uk
Diffstat (limited to 'sys/compat/ultrix/ultrix_misc.c')
-rw-r--r-- | sys/compat/ultrix/ultrix_misc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index b79f6300c7e..b616414ab04 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ultrix_misc.c,v 1.12 1997/06/17 11:11:13 deraadt Exp $ */ +/* $OpenBSD: ultrix_misc.c,v 1.13 1998/01/05 03:15:22 deraadt Exp $ */ /* $NetBSD: ultrix_misc.c,v 1.23 1996/04/07 17:23:04 jonathan Exp $ */ /* @@ -326,8 +326,8 @@ ultrix_sys_mmap(p, v, retval) if ((SCARG(&ouap, flags) & MAP_FIXED) == 0 && SCARG(&ouap, addr) != 0 && - SCARG(&ouap, addr) < (caddr_t)round_page(p->p_vmspace->vm_daddr+MAXDSIZ)) - SCARG(&ouap, addr) = (caddr_t)round_page(p->p_vmspace->vm_daddr+MAXDSIZ); + SCARG(&ouap, addr) < (void *)round_page(p->p_vmspace->vm_daddr+MAXDSIZ)) + SCARG(&ouap, addr) = (void *)round_page(p->p_vmspace->vm_daddr+MAXDSIZ); SCARG(&ouap, len) = SCARG(uap, len); SCARG(&ouap, prot) = SCARG(uap, prot); |