Index: src/core/SkValidatingReadBuffer.cpp |
diff --git a/src/core/SkValidatingReadBuffer.cpp b/src/core/SkValidatingReadBuffer.cpp |
index 95bf83c847d313fdd6af4dbb7ad5f6291f9eacdf..0112f18ec44d5b922d9a0e4455e6975b371577df 100644 |
--- a/src/core/SkValidatingReadBuffer.cpp |
+++ b/src/core/SkValidatingReadBuffer.cpp |
@@ -91,7 +91,7 @@ int32_t SkValidatingReadBuffer::read32() { |
} |
void SkValidatingReadBuffer::readString(SkString* string) { |
- const size_t len = this->readInt(); |
+ const size_t len = this->readUInt(); |
const void* ptr = fReader.peek(); |
const char* cptr = (const char*)ptr; |