commit | 8b5df3920f2843c9cdf04160517c1e8b77c992f5 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 21 16:19:07 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 21 17:09:58 2015 -0800 |
tree | a0a678ee8f107e5c25f937f444a970a0539d2af7 | |
parent | 2a8c929aaf8d34d2b6e89ed9c8b6da163316143e [diff] [blame] |
Turn on -Wold-style-cast and fix the errors. A couple of dodgy cases where we cast away const, but otherwise pretty boring. Change-Id: Ibc39ebd525377792b5911464be842121c20f03b9
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 @@ return SIG_ERR; } - return (sighandler_t) sa.sa_handler; + return sa.sa_handler; } sighandler_t signal(int signum, sighandler_t handler) {