Index: android-platform-system-core/libunwindstack/include/unwindstack/DwarfMemory.h =================================================================== --- android-platform-system-core.orig/libunwindstack/include/unwindstack/DwarfMemory.h +++ android-platform-system-core/libunwindstack/include/unwindstack/DwarfMemory.h @@ -29,7 +29,7 @@ class DwarfMemory { DwarfMemory(Memory* memory) : memory_(memory) {} virtual ~DwarfMemory() = default; - bool ReadBytes(void* dst, size_t num_bytes); + bool ReadBytes(void* dst, std::size_t num_bytes); template bool ReadSigned(uint64_t* value); @@ -39,7 +39,7 @@ class DwarfMemory { bool ReadSLEB128(int64_t* value); template - size_t GetEncodedSize(uint8_t encoding); + std::size_t GetEncodedSize(uint8_t encoding); bool AdjustEncodedValue(uint8_t encoding, uint64_t* value);