OSDN Git Service

Turn on -Wold-style-cast and fix the errors.
authorElliott Hughes <enh@google.com>
Thu, 22 Jan 2015 00:19:07 +0000 (16:19 -0800)
committerElliott Hughes <enh@google.com>
Thu, 22 Jan 2015 01:09:58 +0000 (17:09 -0800)
commit8b5df3920f2843c9cdf04160517c1e8b77c992f5
treea0a678ee8f107e5c25f937f444a970a0539d2af7
parent2a8c929aaf8d34d2b6e89ed9c8b6da163316143e
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
15 files changed:
libc/Android.mk
libc/bionic/libc_init_common.cpp
libc/bionic/open.cpp
libc/bionic/pthread_create.cpp
libc/bionic/scandir.cpp
libc/bionic/sigaddset.cpp
libc/bionic/sigdelset.cpp
libc/bionic/sigismember.cpp
libc/bionic/signal.cpp
libc/bionic/stubs.cpp
libc/bionic/sysinfo.cpp
libc/bionic/tdestroy.cpp
libc/bionic/vdso.cpp
libc/stdio/fileext.h
libc/stdio/local.h