summaryrefslogtreecommitdiffstats
path: root/libc/bionic/signal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libc/bionic/signal.cpp')
-rw-r--r--libc/bionic/signal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/bionic/signal.cpp b/libc/bionic/signal.cpp
index 66d75bd..74a2f65 100644
--- a/libc/bionic/signal.cpp
+++ b/libc/bionic/signal.cpp
@@ -43,7 +43,7 @@ sighandler_t _signal(int signum, sighandler_t handler, int flags) {
return SIG_ERR;
}
- return (sighandler_t) sa.sa_handler;
+ return sa.sa_handler;
}
sighandler_t signal(int signum, sighandler_t handler) {