Revert "Fix clang build breakage ("arithmetic on a pointer to void")."
This reverts commit 16c7721279
.
Change-Id: I568dee5400599693b1585ce6d4be7a0b5f37dc74
This commit is contained in:
parent
16c7721279
commit
3925f32ffb
@ -77,7 +77,7 @@ void __init_alternate_signal_stack(pthread_internal_t* thread) {
|
||||
return;
|
||||
}
|
||||
stack_t ss;
|
||||
ss.ss_sp = reinterpret_cast<uint8_t*>(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);
|
||||
|
Loading…
Reference in New Issue
Block a user