[libunwind] Remove -Wsign-conversion warning

This commit is contained in:
Louis Dionne 2022-05-13 13:24:57 -04:00
parent 853fa8ee22
commit 6716e2055d
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ bool DwarfInstructions<A, R>::getRA_SIGN_STATE(A &addressSpace, R registers,
pint_t raSignState;
auto regloc = prolog.savedRegisters[UNW_AARCH64_RA_SIGN_STATE];
if (regloc.location == CFI_Parser<A>::kRegisterUnused)
raSignState = regloc.value;
raSignState = static_cast<pint_t>(regloc.value);
else
raSignState = getSavedRegister(addressSpace, registers, cfa, regloc);