summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2002-09-05 12:30:54 +0000
committerBruce Evans <bde@FreeBSD.org>2002-09-05 12:30:54 +0000
commit367797e031bf2be2fe0f10d0e66f84ae35d66c09 (patch)
treebe4650b96885468553e7d8fb112acea6675c1f7f /sys/compat/linux/linux_misc.c
parent2894f9d0a7aec23bf00d0eabccbc5b5bcdd2b337 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_misc.c')
-rw-r--r--sys/compat/linux/linux_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index 67d9b310bec5..0d10fbb563fe 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -600,7 +600,7 @@ linux_mremap(struct thread *td, struct linux_mremap_args *args)
error = munmap(td, &bsd_args);
}
- td->td_retval[0] = error ? 0 : (u_long)args->addr;
+ td->td_retval[0] = error ? 0 : (uintptr_t)args->addr;
return error;
}