| Index: src/unicode.cc
|
| diff --git a/src/unicode.cc b/src/unicode.cc
|
| index 26a336afd8dd47dd267d59c076ccd264d44339a6..0d0d63d1775660018b57e4e3e107110371a55661 100644
|
| --- a/src/unicode.cc
|
| +++ b/src/unicode.cc
|
| @@ -190,9 +190,7 @@ static int LookupMapping(const int32_t* table,
|
| }
|
|
|
|
|
| -uchar Utf8::CalculateValue(const byte* str,
|
| - unsigned length,
|
| - unsigned* cursor) {
|
| +uchar Utf8::CalculateValue(const byte* str, size_t length, size_t* cursor) {
|
| // We only get called for non-ASCII characters.
|
| if (length == 1) {
|
| *cursor += 1;
|
|
|