am aa23e36c: am 2d84d870: Merge "Fix clang build breakage ("arithmetic on a pointer to void")."
* commit 'aa23e36ceef86f8a73d4c100c8e5a126253c5ff5': Fix clang build breakage ("arithmetic on a pointer to void").
This commit is contained in:
commit
a134eda3fa
@ -77,7 +77,7 @@ void __init_alternate_signal_stack(pthread_internal_t* thread) {
|
||||
return;
|
||||
}
|
||||
stack_t ss;
|
||||
ss.ss_sp = stack_base + PAGE_SIZE;
|
||||
ss.ss_sp = reinterpret_cast<uint8_t*>(stack_base) + PAGE_SIZE;
|
||||
ss.ss_size = SIGNAL_STACK_SIZE - PAGE_SIZE;
|
||||
ss.ss_flags = 0;
|
||||
sigaltstack(&ss, NULL);
|
||||
|
Loading…
x
Reference in New Issue
Block a user