diff options
Diffstat (limited to 'kern/exception.c')
-rw-r--r-- | kern/exception.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kern/exception.c b/kern/exception.c index 2ff122f2..0d8191a7 100644 --- a/kern/exception.c +++ b/kern/exception.c @@ -449,9 +449,8 @@ exception_raise( receiver = ipc_thread_queue_first(&dest_mqueue->imq_threads); if ((receiver == ITH_NULL) || - !((receiver->swap_func == (void (*)()) mach_msg_continue) || - ((receiver->swap_func == - (void (*)()) mach_msg_receive_continue) && + !((receiver->swap_func == mach_msg_continue) || + ((receiver->swap_func == mach_msg_receive_continue) && (sizeof(struct mach_exception) <= receiver->ith_msize) && ((receiver->ith_option & MACH_RCV_NOTIFY) == 0))) || !thread_handoff(self, exception_raise_continue, receiver)) { |