diff options
author | Kristian Monsen <kristianm@google.com> | 2011-03-01 11:46:07 +0000 |
---|---|---|
committer | Kristian Monsen <kristianm@google.com> | 2011-03-01 14:38:50 +0000 |
commit | f105cf166829575fa6eecfc3f4b6a9a954fa1072 (patch) | |
tree | fd303b02791452c318e347ce9d57b3c2d4eb043f /WebCore/platform | |
parent | 5439bf98d1367aded4610144d1606856e042ca09 (diff) | |
download | external_webkit-f105cf166829575fa6eecfc3f4b6a9a954fa1072.zip external_webkit-f105cf166829575fa6eecfc3f4b6a9a954fa1072.tar.gz external_webkit-f105cf166829575fa6eecfc3f4b6a9a954fa1072.tar.bz2 |
Fix warning
Change-Id: Ifb290ab8e027b1828c1c10ca3ee70eadedf23f66
Diffstat (limited to 'WebCore/platform')
-rw-r--r-- | WebCore/platform/text/android/HyphenationAndroid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/platform/text/android/HyphenationAndroid.cpp b/WebCore/platform/text/android/HyphenationAndroid.cpp index cff0a66..d1bd839 100644 --- a/WebCore/platform/text/android/HyphenationAndroid.cpp +++ b/WebCore/platform/text/android/HyphenationAndroid.cpp @@ -75,7 +75,7 @@ size_t lastHyphenLocation(const UChar* characters, size_t length, size_t beforeI return 0; char word[maxWordLen]; - int wordLength = 0; + size_t wordLength = 0; for (size_t i = 0; i < length; ++i) { const UChar ch = characters[i]; // Only English for now. |