Title: [91745] trunk/Tools
- Revision
- 91745
- Author
- [email protected]
- Date
- 2011-07-26 00:17:22 -0700 (Tue, 26 Jul 2011)
Log Message
[Chromium][DRT] MockSpellCheck.cpp should be clang clean
https://bugs.webkit.org/show_bug.cgi?id=65166
Reviewed by Kent Tamura.
* DumpRenderTree/chromium/MockSpellCheck.cpp:
(MockSpellCheck::spellCheckWord): -Wsign-compare warning.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (91744 => 91745)
--- trunk/Tools/ChangeLog 2011-07-26 07:05:52 UTC (rev 91744)
+++ trunk/Tools/ChangeLog 2011-07-26 07:17:22 UTC (rev 91745)
@@ -1,3 +1,13 @@
+2011-07-26 MORITA Hajime <[email protected]>
+
+ [Chromium][DRT] MockSpellCheck.cpp should be clang clean
+ https://bugs.webkit.org/show_bug.cgi?id=65166
+
+ Reviewed by Kent Tamura.
+
+ * DumpRenderTree/chromium/MockSpellCheck.cpp:
+ (MockSpellCheck::spellCheckWord): -Wsign-compare warning.
+
2011-07-25 Patrick Gansterer <[email protected]>
Ignore line endings in ChangeLogTests
Modified: trunk/Tools/DumpRenderTree/chromium/MockSpellCheck.cpp (91744 => 91745)
--- trunk/Tools/DumpRenderTree/chromium/MockSpellCheck.cpp 2011-07-26 07:05:52 UTC (rev 91744)
+++ trunk/Tools/DumpRenderTree/chromium/MockSpellCheck.cpp 2011-07-26 07:17:22 UTC (rev 91745)
@@ -75,7 +75,7 @@
if (wordOffset == -1)
return true;
int wordEnd = stringText.find(isNotASCIIAlpha, wordOffset);
- int wordLength = wordEnd == -1 ? stringText.length() - wordOffset : wordEnd - wordOffset;
+ int wordLength = wordEnd == -1 ? static_cast<int>(stringText.length()) - wordOffset : wordEnd - wordOffset;
// Look up our misspelled-word table to check if the extracted word is a
// known misspelled word, and return the offset and the length of the
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes