Title: [140268] trunk/Tools
Revision
140268
Author
[email protected]
Date
2013-01-19 23:14:27 -0800 (Sat, 19 Jan 2013)

Log Message

Unreviewed build fix for Qt WK2 after r140258.
Use the size_t type instead of unsigned for the variable
which holds the position of the first null character in the
console message.

* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::willAddMessageToConsole):

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (140267 => 140268)


--- trunk/Tools/ChangeLog	2013-01-20 06:32:29 UTC (rev 140267)
+++ trunk/Tools/ChangeLog	2013-01-20 07:14:27 UTC (rev 140268)
@@ -1,3 +1,13 @@
+2013-01-19  Zan Dobersek  <[email protected]>
+
+        Unreviewed build fix for Qt WK2 after r140258.
+        Use the size_t type instead of unsigned for the variable
+        which holds the position of the first null character in the
+        console message.
+
+        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
+        (WTR::InjectedBundlePage::willAddMessageToConsole):
+
 2013-01-19  Sheriff Bot  <[email protected]>
 
         Unreviewed, rolling out r140260.

Modified: trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp (140267 => 140268)


--- trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2013-01-20 06:32:29 UTC (rev 140267)
+++ trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp	2013-01-20 07:14:27 UTC (rev 140268)
@@ -1430,7 +1430,7 @@
         return;
 
     WTF::String messageString = toWTFString(message);
-    unsigned nullCharPos = messageString.find(UChar(0));
+    size_t nullCharPos = messageString.find(UChar(0));
     if (nullCharPos != WTF::notFound)
         messageString.truncate(nullCharPos);
 
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to