Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kiss <daniel.kiss@arm.com>2022-05-19 10:38:30 +0300
committerDaniel Kiss <daniel.kiss@arm.com>2022-05-19 10:41:42 +0300
commitd3a6f5739130409602edac1b6588613c458d7321 (patch)
tree9c2a26813b59f78c4152267705754bc62fbe7cff /libunwind
parent4df795bff75289941508d07bbe9105b93b098105 (diff)
[libunwind] Remove -Wsign-conversion warning
Reland after dependent change reland.
Diffstat (limited to 'libunwind')
-rw-r--r--libunwind/src/DwarfInstructions.hpp2
1 files changed, 1 insertions, 1 deletions
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<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);