Title: [141927] trunk/Source/WTF
Revision
141927
Author
[email protected]
Date
2013-02-05 13:58:09 -0800 (Tue, 05 Feb 2013)

Log Message

[WTFURL] Comparison between signed and unsigned integer expressions in URLUtil.cpp
https://bugs.webkit.org/show_bug.cgi?id=108955

Reviewed by Benjamin Poulain.

* wtf/url/src/URLUtil.cpp:
(URLUtilities): Make the counter variable a signed integer to get rid of the warning.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (141926 => 141927)


--- trunk/Source/WTF/ChangeLog	2013-02-05 21:44:55 UTC (rev 141926)
+++ trunk/Source/WTF/ChangeLog	2013-02-05 21:58:09 UTC (rev 141927)
@@ -1,3 +1,13 @@
+2013-02-05  Zan Dobersek  <[email protected]>
+
+        [WTFURL] Comparison between signed and unsigned integer expressions in URLUtil.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=108955
+
+        Reviewed by Benjamin Poulain.
+
+        * wtf/url/src/URLUtil.cpp:
+        (URLUtilities): Make the counter variable a signed integer to get rid of the warning.
+
 2013-02-05  Benjamin Poulain  <[email protected]>
 
         Rationalize the use of iOS/Mac #defines in Assertions.cpp

Modified: trunk/Source/WTF/wtf/url/src/URLUtil.cpp (141926 => 141927)


--- trunk/Source/WTF/wtf/url/src/URLUtil.cpp	2013-02-05 21:44:55 UTC (rev 141926)
+++ trunk/Source/WTF/wtf/url/src/URLUtil.cpp	2013-02-05 21:58:09 UTC (rev 141927)
@@ -90,7 +90,7 @@
     if (!scheme.isNonEmpty())
         return false; // Empty or invalid schemes are non-standard.
 
-    for (size_t i = 0; i < kNumStandardURLSchemes; ++i) {
+    for (int i = 0; i < kNumStandardURLSchemes; ++i) {
         if (lowerCaseEqualsASCII(&spec[scheme.begin()], &spec[scheme.end()], kStandardURLSchemes[i]))
             return true;
     }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to