Title: [128247] trunk/Source/WebCore
Revision
128247
Author
msab...@apple.com
Date
2012-09-11 17:25:34 -0700 (Tue, 11 Sep 2012)

Log Message

Unreviewed build fix for http://trac.webkit.org/changeset/128244

Some compilers don't like 0 for operator[](unsigned).  Changed to 0u.

* bindings/js/JSDOMBinding.h:
(WebCore::jsStringWithCache):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (128246 => 128247)


--- trunk/Source/WebCore/ChangeLog	2012-09-12 00:09:44 UTC (rev 128246)
+++ trunk/Source/WebCore/ChangeLog	2012-09-12 00:25:34 UTC (rev 128247)
@@ -1,5 +1,14 @@
 2012-09-11  Michael Saboff  <msab...@apple.com>
 
+        Unreviewed build fix for http://trac.webkit.org/changeset/128244
+
+        Some compilers don't like 0 for operator[](unsigned).  Changed to 0u.
+
+        * bindings/js/JSDOMBinding.h:
+        (WebCore::jsStringWithCache):
+
+2012-09-11  Michael Saboff  <msab...@apple.com>
+
         Build fixed for http://trac.webkit.org/changeset/128243
 
         Rubber stamped by Stephanie Lewis.

Modified: trunk/Source/WebCore/bindings/js/JSDOMBinding.h (128246 => 128247)


--- trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2012-09-12 00:09:44 UTC (rev 128246)
+++ trunk/Source/WebCore/bindings/js/JSDOMBinding.h	2012-09-12 00:25:34 UTC (rev 128247)
@@ -422,7 +422,7 @@
             return jsEmptyString(exec);
 
         if (stringImpl->length() == 1) {
-            UChar singleCharacter = (*stringImpl)[0];
+            UChar singleCharacter = (*stringImpl)[0u];
             if (singleCharacter <= JSC::maxSingleCharacterString) {
                 JSC::JSGlobalData* globalData = &exec->globalData();
                 return globalData->smallStrings.singleCharacterString(globalData, static_cast<unsigned char>(singleCharacter));
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to