From bb09dc30a4a5098076706c4d58d5f9d5217cf628 Mon Sep 17 00:00:00 2001 From: Kha Vo Date: Sun, 3 Apr 2016 13:58:49 -0600 Subject: [PATCH] sigset: Fix an IAR compilation problem --- libc/signal/sig_set.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/signal/sig_set.c b/libc/signal/sig_set.c index bbf42a587b..b6186fdc6c 100644 --- a/libc/signal/sig_set.c +++ b/libc/signal/sig_set.c @@ -105,7 +105,7 @@ void (*sigset(int signo, void (*disp)(int)))(int) { /* Would happen if signo were invalid */ - return SIG_ERR; + return (_sa_handler_t)SIG_ERR; } } @@ -123,5 +123,5 @@ void (*sigset(int signo, void (*disp)(int)))(int) return oact.sa_handler; } - return SIG_ERR; + return (_sa_handler_t)SIG_ERR; }