| Index: src/unicode.h
|
| diff --git a/src/unicode.h b/src/unicode.h
|
| index 166681426ff9187ca068ce61cafc6ddcfc2b1ff0..7471a638c045d169e58bceae78087615b06202a9 100644
|
| --- a/src/unicode.h
|
| +++ b/src/unicode.h
|
| @@ -136,9 +136,7 @@ class Utf8 {
|
| uchar c,
|
| int previous,
|
| bool replace_invalid = false);
|
| - static uchar CalculateValue(const byte* str,
|
| - unsigned length,
|
| - unsigned* cursor);
|
| + static uchar CalculateValue(const byte* str, size_t length, size_t* cursor);
|
|
|
| // The unicode replacement character, used to signal invalid unicode
|
| // sequences (e.g. an orphan surrogate) when converting to a UTF-8 encoding.
|
| @@ -156,9 +154,7 @@ class Utf8 {
|
| // The maximum size a single UTF-16 code unit may take up when encoded as
|
| // UTF-8.
|
| static const unsigned kMax16BitCodeUnitSize = 3;
|
| - static inline uchar ValueOf(const byte* str,
|
| - unsigned length,
|
| - unsigned* cursor);
|
| + static inline uchar ValueOf(const byte* str, size_t length, size_t* cursor);
|
| };
|
|
|
| struct Uppercase {
|
|
|