Use size_t to fix the build on mac.

Change-Id: Id145bdb711eea9ee33bcd9f258ff3befd6e7e86b
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2465487
Reviewed-by: Joshua Peraza <jperaza@chromium.org>
This commit is contained in:
Sterling Augustine 2020-10-12 09:35:39 -07:00
parent a9afca9c06
commit 78180df608

View file

@ -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;
}