From 6716e2055ddeac304f47adc5ae39086381016ba7 Mon Sep 17 00:00:00 2001 From: Louis Dionne Date: Fri, 13 May 2022 13:24:57 -0400 Subject: [PATCH] [libunwind] Remove -Wsign-conversion warning --- libunwind/src/DwarfInstructions.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libunwind/src/DwarfInstructions.hpp b/libunwind/src/DwarfInstructions.hpp index 865a48952604..a4fac5afa9b8 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);