diff options
author | Kristian Monsen <kristianm@google.com> | 2011-03-01 06:42:28 -0800 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-03-01 06:42:28 -0800 |
commit | 0c912229b5c4e394b86cdf908b92bf72f327d8ab (patch) | |
tree | 99d12c7a187bc2e8f133498d5aa8fe584c8155d2 /WebCore/platform/text/android/HyphenationAndroid.cpp | |
parent | e1309be6b04f6f535c5841421c73d3e4ab5e7d8b (diff) | |
parent | f105cf166829575fa6eecfc3f4b6a9a954fa1072 (diff) | |
download | external_webkit-0c912229b5c4e394b86cdf908b92bf72f327d8ab.zip external_webkit-0c912229b5c4e394b86cdf908b92bf72f327d8ab.tar.gz external_webkit-0c912229b5c4e394b86cdf908b92bf72f327d8ab.tar.bz2 |
Merge "Fix warning"
Diffstat (limited to 'WebCore/platform/text/android/HyphenationAndroid.cpp')
-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. |