From 3925f32ffb1ac93fb20b0e4ec86aa600eb942645 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Tue, 31 Mar 2015 02:41:20 +0000 Subject: [PATCH] Revert "Fix clang build breakage ("arithmetic on a pointer to void")." This reverts commit 16c77212792808b9e4d8229e64c5b42f4327b6dc. Change-Id: I568dee5400599693b1585ce6d4be7a0b5f37dc74 --- libc/bionic/pthread_create.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/bionic/pthread_create.cpp b/libc/bionic/pthread_create.cpp index cc37f5a74..179ae95da 100644 --- a/libc/bionic/pthread_create.cpp +++ b/libc/bionic/pthread_create.cpp @@ -77,7 +77,7 @@ void __init_alternate_signal_stack(pthread_internal_t* thread) { return; } stack_t ss; - ss.ss_sp = reinterpret_cast(stack_base) + PAGE_SIZE; + ss.ss_sp = stack_base + PAGE_SIZE; ss.ss_size = SIGNAL_STACK_SIZE - PAGE_SIZE; ss.ss_flags = 0; sigaltstack(&ss, NULL);