diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-06-24 00:37:26 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2003-06-24 00:37:26 +0000 |
| commit | 5858b0cea8ba1a5eda12fcaaeb5f27b0d287efae (patch) | |
| tree | c0475579f951ea3f9c5a80082b709f3545d39d34 /lib/libpthread/thread/thr_sig.c | |
| parent | 05fb8c3f738e7b292a08fec51b3e24425de35637 (diff) | |
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_sig.c')
| -rw-r--r-- | lib/libpthread/thread/thr_sig.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_sig.c b/lib/libpthread/thread/thr_sig.c index b001c7bb338e..94e56306b371 100644 --- a/lib/libpthread/thread/thr_sig.c +++ b/lib/libpthread/thread/thr_sig.c @@ -195,8 +195,8 @@ _thr_sig_handler(int sig, siginfo_t *info, ucontext_t *ucp) != 0) || (info == NULL)) (*(sigfunc))(sig, info, ucp); else - (*(sigfunc))(sig, (siginfo_t *)info->si_code, - ucp); + (*(sigfunc))(sig, + (siginfo_t*)(intptr_t)info->si_code, ucp); } } else { @@ -253,7 +253,8 @@ thr_sig_invoke_handler(struct pthread *curthread, int sig, siginfo_t *info, (info == NULL)) (*(sigfunc))(sig, info, ucp); else - (*(sigfunc))(sig, (siginfo_t *)info->si_code, ucp); + (*(sigfunc))(sig, (siginfo_t*)(intptr_t)info->si_code, + ucp); } /* |
