Chromium Code Reviews| Index: src/uri.cc |
| diff --git a/src/uri.cc b/src/uri.cc |
| index de7bd9bf57749af9286a3484e3c75858ec5498e9..14e22146e7b5799801b20ae6fb7d6d63432381fc 100644 |
| --- a/src/uri.cc |
| +++ b/src/uri.cc |
| @@ -51,7 +51,7 @@ bool DecodeOctets(const uint8_t* octets, int length, List<uc16>* buffer) { |
| return false; |
| } |
| - if (value <= unibrow::Utf16::kMaxNonSurrogateCharCode) { |
| + if (value <= static_cast<uc32>(unibrow::Utf16::kMaxNonSurrogateCharCode)) { |
| buffer->Add(value); |
| } else { |
| buffer->Add(unibrow::Utf16::LeadSurrogate(value)); |