summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2008-11-10 23:36:20 +0000
committerpeter <peter@FreeBSD.org>2008-11-10 23:36:20 +0000
commitc0dbc72cb7d1f2070eab1aec20cc61c22b012e2e (patch)
tree8e94e6b888668fdb3676b41f0d7220f17a1b3334
parent82e115654cf5ec7618b8caddd4509d2949d8f3e8 (diff)
downloadFreeBSD-src-c0dbc72cb7d1f2070eab1aec20cc61c22b012e2e.zip
FreeBSD-src-c0dbc72cb7d1f2070eab1aec20cc61c22b012e2e.tar.gz
Sigh. Fix a pointer/int compile error.
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index 3021d33..17ca159 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -2442,7 +2442,7 @@ siginfo_to_siginfo32(siginfo_t *src, struct siginfo32 *dst)
dst->si_pid = src->si_pid;
dst->si_uid = src->si_uid;
dst->si_status = src->si_status;
- dst->si_addr = src->si_addr;
+ dst->si_addr = (uintptr_t)src->si_addr;
dst->si_value.sigval_int = src->si_value.sival_int;
dst->si_timerid = src->si_timerid;
dst->si_overrun = src->si_overrun;
OpenPOWER on IntegriCloud