[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:
Martin Storsjö 2022-02-09 19:36:58 +02:00
parent d2215e79ac
commit dfa5ab7b2b
1 changed files with 2 additions and 2 deletions

View File

@ -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(