summaryrefslogtreecommitdiff
path: root/src/DwarfParser.hpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2017-01-21 21:27:29 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2017-01-21 21:27:29 +0000
commit43a1c58a8f7178556f9ecfaf75b9809adb59dce8 (patch)
tree426f71a766d8ac17b81c4941e27709981c197fbf /src/DwarfParser.hpp
parentaa805e415f19f50ebc6f5e1e1e4bf9bb7f61816b (diff)
DWARF: correct cast (NFC)
Change the case of a PRIu64 value from `long` to `uint64_t`. NFC. git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@292728 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/DwarfParser.hpp')
-rw-r--r--src/DwarfParser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DwarfParser.hpp b/src/DwarfParser.hpp
index 9a75555..f4e5d48 100644
--- a/src/DwarfParser.hpp
+++ b/src/DwarfParser.hpp
@@ -674,7 +674,7 @@ bool CFI_Parser<A>::parseInstructions(A &addressSpace, pint_t instructions,
reg = operand;
results->savedRegisters[reg] = initialState.savedRegisters[reg];
_LIBUNWIND_TRACE_DWARF("DW_CFA_restore(reg=%" PRIu64 ")\n",
- static_cast<long>(operand));
+ static_cast<uint64_t>(operand));
break;
default:
_LIBUNWIND_TRACE_DWARF("unknown CFA opcode 0x%02X\n", opcode);