Index: src/unicode-inl.h |
diff --git a/src/unicode-inl.h b/src/unicode-inl.h |
index 0f78d39e0656f6ba804a820c748800ae8753c511..b22e4825280dc78836dcb4e032fec65c614dbcd7 100644 |
--- a/src/unicode-inl.h |
+++ b/src/unicode-inl.h |
@@ -110,7 +110,7 @@ unsigned Utf8::Encode(char* str, |
} |
-uchar Utf8::ValueOf(const byte* bytes, unsigned length, unsigned* cursor) { |
+uchar Utf8::ValueOf(const byte* bytes, size_t length, size_t* cursor) { |
if (length <= 0) return kBadChar; |
byte first = bytes[0]; |
// Characters between 0000 and 0007F are encoded as a single character |