diff --git a/src/common/dwarf/dwarf2reader.h b/src/common/dwarf/dwarf2reader.h index 8da190c2..7ee80f02 100644 --- a/src/common/dwarf/dwarf2reader.h +++ b/src/common/dwarf/dwarf2reader.h @@ -293,7 +293,7 @@ class RangeListReader { // Convenience functions to handle the mechanics of reading entries in the // ranges section. uint64_t ReadULEB(uint64_t offset, uint64_t* value) { - uint64_t len; + size_t len; *value = reader_->ReadUnsignedLEB128(cu_info_->buffer_ + offset, &len); return len; }