Index: third_party/android_crazy_linker/src/src/crazy_linker_leb128.h |
diff --git a/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h b/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h |
index 3d0ad8f3641de86b3269792ecdafae053521b82b..0888d77cb575775f6e5af8c08a14eeddbfaf8276 100644 |
--- a/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h |
+++ b/third_party/android_crazy_linker/src/src/crazy_linker_leb128.h |
@@ -18,14 +18,14 @@ class Leb128Decoder { |
: encoding_(encoding), cursor_(0) { } |
size_t Dequeue() { |
- uint32_t value = 0; |
+ size_t value = 0; |
size_t shift = 0; |
uint8_t byte; |
do { |
byte = encoding_[cursor_++]; |
- value |= static_cast<uint32_t>(byte & 127) << shift; |
+ value |= static_cast<size_t>(byte & 127) << shift; |
shift += 7; |
} while (byte & 128); |