diff options
Diffstat (limited to 'compiler-rt')
-rw-r--r-- | compiler-rt/lib/asan/asan_interceptors.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/asan/asan_interceptors.cc b/compiler-rt/lib/asan/asan_interceptors.cc index 5c106acb321..b2d437590e9 100644 --- a/compiler-rt/lib/asan/asan_interceptors.cc +++ b/compiler-rt/lib/asan/asan_interceptors.cc @@ -377,10 +377,10 @@ INTERCEPTOR(char*, strchr, const char *str, int c) { } #ifdef __linux__ -INTERCEPTOR(void*, index, const char *string, int c) +INTERCEPTOR(char*, index, const char *string, int c) ALIAS(WRAPPER_NAME(strchr)); #else -DEFINE_REAL(void*, index, const char *string, int c); +DEFINE_REAL(char*, index, const char *string, int c); #endif #ifdef ANDROID |