Index: src/core/SkWriter32.cpp |
diff --git a/src/core/SkWriter32.cpp b/src/core/SkWriter32.cpp |
index 3397c37360df64df2878da127a6248586ce76804..00c46368b6040d721f665f67a63fb20c52a6b64e 100644 |
--- a/src/core/SkWriter32.cpp |
+++ b/src/core/SkWriter32.cpp |
@@ -14,7 +14,7 @@ |
*/ |
const char* SkReader32::readString(size_t* outLen) { |
- size_t len = this->readInt(); |
+ size_t len = this->readU32(); |
const void* ptr = this->peek(); |
// skip over the string + '\0' and then pad to a multiple of 4 |