mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-29 22:52:18 +00:00
Fix implicit type conversion. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270299 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
cfb570d66f
commit
957d8db773
@ -137,7 +137,7 @@ static void CreateSigAltStack() {
|
||||
return;
|
||||
|
||||
stack_t AltStack = {};
|
||||
AltStack.ss_sp = malloc(AltStackSize);
|
||||
AltStack.ss_sp = reinterpret_cast<char *>(malloc(AltStackSize));
|
||||
AltStack.ss_size = AltStackSize;
|
||||
if (sigaltstack(&AltStack, &OldAltStack) != 0)
|
||||
free(AltStack.ss_sp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user