summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_misc.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>2003-09-07 13:03:13 +0000
committerBruce Evans <bde@FreeBSD.org>2003-09-07 13:03:13 +0000
commit34eec0a16944aa32a0a1e93a0cf588911d14be53 (patch)
tree2e6ac277990216b164f9255eab99fc24ea8c9035 /sys/compat/linux/linux_misc.c
parent68de25ddb41f09cb5fa06f8ab7e139dda82a677a (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 5797700b495c..f271482032fe 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -416,7 +416,7 @@ linux_uselib(struct thread *td, struct linux_uselib_args *args)
goto cleanup;
/* copy from kernel VM space to user space */
- error = copyout((void *)(buffer + file_offset),
+ error = copyout((void *)(uintptr_t)(buffer + file_offset),
(void *)vmaddr, a_out->a_text + a_out->a_data);
/* release temporary kernel space */