From 78180df608bf0d0181fd1b096ec98d1354b640d0 Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Mon, 12 Oct 2020 09:35:39 -0700 Subject: [PATCH] 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 --- src/common/dwarf/dwarf2reader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }