diff options
Diffstat (limited to 'src/google/protobuf/util/internal/json_escaping.cc')
-rw-r--r-- | src/google/protobuf/util/internal/json_escaping.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/util/internal/json_escaping.cc b/src/google/protobuf/util/internal/json_escaping.cc index 06b9a7f2..d1673597 100644 --- a/src/google/protobuf/util/internal/json_escaping.cc +++ b/src/google/protobuf/util/internal/json_escaping.cc @@ -134,8 +134,8 @@ inline uint16 ToHighSurrogate(uint32 cp) { // Returns false if we encounter an invalid UTF-8 string. Returns true // otherwise, including the case when we reach the end of the input (str) // before a complete unicode code point is read. -bool ReadCodePoint(StringPiece str, int index, - uint32 *cp, int* num_left, int *num_read) { +bool ReadCodePoint(StringPiece str, int index, uint32* cp, int* num_left, + int* num_read) { if (*num_left == 0) { // Last read was complete. Start reading a new unicode code point. *cp = static_cast<uint8>(str[index++]); |