Use PTRIN().
This commit is contained in:
parent
91a7fc18f0
commit
90fd594a1d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=226353
@ -441,7 +441,7 @@ freebsd32_mprotect(struct thread *td, struct freebsd32_mprotect_args *uap)
|
||||
{
|
||||
struct mprotect_args ap;
|
||||
|
||||
ap.addr = (void *)(uintptr_t)uap->addr;
|
||||
ap.addr = PTRIN(uap->addr);
|
||||
ap.len = uap->len;
|
||||
ap.prot = uap->prot;
|
||||
#if defined(__amd64__) || defined(__ia64__)
|
||||
|
Loading…
Reference in New Issue
Block a user