aboutsummaryrefslogtreecommitdiff
path: root/src/common/dwarf/bytereader.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/dwarf/bytereader.cc')
-rw-r--r--src/common/dwarf/bytereader.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/dwarf/bytereader.cc b/src/common/dwarf/bytereader.cc
index fb0024d3..68020264 100644
--- a/src/common/dwarf/bytereader.cc
+++ b/src/common/dwarf/bytereader.cc
@@ -123,11 +123,11 @@ uint64 ByteReader::ReadEncodedPointer(const char *buffer,
// First, find the offset to START from the closest prior aligned
// address.
- uint64_t skew = section_base_ & (AddressSize() - 1);
+ uint64 skew = section_base_ & (AddressSize() - 1);
// Now find the offset from that aligned address to buffer.
- uint64_t offset = skew + (buffer - buffer_base_);
+ uint64 offset = skew + (buffer - buffer_base_);
// Round up to the next boundary.
- uint64_t aligned = (offset + AddressSize() - 1) & -AddressSize();
+ uint64 aligned = (offset + AddressSize() - 1) & -AddressSize();
// Convert back to a pointer.
const char *aligned_buffer = buffer_base_ + (aligned - skew);
// Finally, store the length and actually fetch the pointer.