forked from OSchip/llvm-project
[libunwind] Avoid a warning in 32 bit builds. NFC.
The warning was introduced with the recently merged SPARCv9
support in 2b9554b885
.
The cast matches the existing surrounding cases.
Differential Revision: https://reviews.llvm.org/D119353
This commit is contained in:
parent
d2215e79ac
commit
dfa5ab7b2b
|
@ -91,8 +91,8 @@ typename A::pint_t DwarfInstructions<A, R>::getSavedRegister(
|
|||
return (pint_t)addressSpace.getRegister(cfa + (pint_t)savedReg.value);
|
||||
|
||||
case CFI_Parser<A>::kRegisterInCFADecrypt: // sparc64 specific
|
||||
return addressSpace.getP(cfa + (pint_t)savedReg.value) ^
|
||||
getSparcWCookie(registers, 0);
|
||||
return (pint_t)(addressSpace.getP(cfa + (pint_t)savedReg.value) ^
|
||||
getSparcWCookie(registers, 0));
|
||||
|
||||
case CFI_Parser<A>::kRegisterAtExpression:
|
||||
return (pint_t)addressSpace.getRegister(evaluateExpression(
|
||||
|
|
Loading…
Reference in New Issue