[libunwind] Remove -Wsign-conversion warning

Reland after dependent change reland.
This commit is contained in:
Daniel Kiss 2022-05-19 09:38:30 +02:00
parent 4df795bff7
commit d3a6f57391

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);