summaryrefslogtreecommitdiffstats
path: root/chrome/browser/spellchecker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/spellchecker.cc')
-rw-r--r--chrome/browser/spellchecker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/spellchecker.cc b/chrome/browser/spellchecker.cc
index d185019..99ce06c 100644
--- a/chrome/browser/spellchecker.cc
+++ b/chrome/browser/spellchecker.cc
@@ -487,7 +487,7 @@ void SpellChecker::GetAutoCorrectionWord(const std::wstring& word,
const wchar_t* word_char = word.c_str();
for (int i = 0; i <= kMaxAutoCorrectWordSize; i++) {
// Ignore words having uppercase letter, other that the first letter.
- if (i > 0 && u_isupper(word_char[i]))
+ if (i > 0 && u_isupper(static_cast<UChar32>(word_char[i])))
return;
if (i >= word_length)