projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
853fa8e
)
[libunwind] Remove -Wsign-conversion warning
author
Louis Dionne
<ldionne.2@gmail.com>
Fri, 13 May 2022 17:24:57 +0000
(13:24 -0400)
committer
Louis Dionne
<ldionne.2@gmail.com>
Fri, 13 May 2022 17:25:28 +0000
(13:25 -0400)
libunwind/src/DwarfInstructions.hpp
patch
|
blob
|
history
diff --git
a/libunwind/src/DwarfInstructions.hpp
b/libunwind/src/DwarfInstructions.hpp
index
865a489
..
a4fac5a
100644
(file)
--- 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);