Title: [123736] trunk/Tools
- Revision
- 123736
- Author
- kbal...@webkit.org
- Date
- 2012-07-26 05:32:36 -0700 (Thu, 26 Jul 2012)
Log Message
Unreviewed speculative buildfix after r123729.
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::runTest): Fix sign errors.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (123735 => 123736)
--- trunk/Tools/ChangeLog 2012-07-26 12:29:10 UTC (rev 123735)
+++ trunk/Tools/ChangeLog 2012-07-26 12:32:36 UTC (rev 123736)
@@ -1,3 +1,10 @@
+2012-07-26 Balazs Kelemen <kbal...@webkit.org>
+
+ Unreviewed speculative buildfix after r123729.
+
+ * WebKitTestRunner/TestController.cpp:
+ (WTR::TestController::runTest): Fix sign errors.
+
2012-07-26 Zoltan Nyul <zoltan.n...@intel.com>
[EFL] EFL port should use XDG paths
Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (123735 => 123736)
--- trunk/Tools/WebKitTestRunner/TestController.cpp 2012-07-26 12:29:10 UTC (rev 123735)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp 2012-07-26 12:32:36 UTC (rev 123736)
@@ -525,17 +525,17 @@
size_t secondSeparatorPos = command.find_first_of('\'', firstSeparatorPos + 1);
if (firstSeparatorPos != std::string::npos) {
pathOrURL = std::string(command, 0, firstSeparatorPos);
- size_t pixelHashPos = firstSeparatorPos + 1;
+ int pixelHashPos = firstSeparatorPos + 1;
// NRWT passes --pixel-test if we should dump pixels for the test.
const std::string expectedPixelTestArg("--pixel-test");
std::string argTest = std::string(command, firstSeparatorPos + 1, expectedPixelTestArg.size());
if (argTest == expectedPixelTestArg) {
dumpPixelsTest = true;
- pixelHashPos = secondSeparatorPos == std::string::npos ? -1 : secondSeparatorPos + 1;
+ pixelHashPos = secondSeparatorPos == std::string::npos ? -1 : static_cast<int>(secondSeparatorPos + 1);
}
if (pixelHashPos != -1 && pixelHashPos < command.size())
- expectedPixelHash = std::string(command, pixelHashPos);
+ expectedPixelHash = std::string(command, static_cast<size_t>(pixelHashPos));
}
m_state = RunningTest;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes