diff --git a/libunwind/src/DwarfInstructions.hpp b/libunwind/src/DwarfInstructions.hpp index 865a489526047..a4fac5afa9b82 100644 --- a/libunwind/src/DwarfInstructions.hpp +++ b/libunwind/src/DwarfInstructions.hpp @@ -177,7 +177,7 @@ bool DwarfInstructions::getRA_SIGN_STATE(A &addressSpace, R registers, pint_t raSignState; auto regloc = prolog.savedRegisters[UNW_AARCH64_RA_SIGN_STATE]; if (regloc.location == CFI_Parser::kRegisterUnused) - raSignState = regloc.value; + raSignState = static_cast(regloc.value); else raSignState = getSavedRegister(addressSpace, registers, cfa, regloc);