Title: [208629] trunk/Source/WebCore
Revision
208629
Author
[email protected]
Date
2016-11-11 16:40:52 -0800 (Fri, 11 Nov 2016)

Log Message

Unreviewed build fix after r208628

* bindings/js/SerializedScriptValue.cpp:
(WebCore::CloneDeserializer::readTerminal): Cast pointer arithmetic to
uint32_t to avoid warning.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (208628 => 208629)


--- trunk/Source/WebCore/ChangeLog	2016-11-12 00:32:59 UTC (rev 208628)
+++ trunk/Source/WebCore/ChangeLog	2016-11-12 00:40:52 UTC (rev 208629)
@@ -1,5 +1,13 @@
 2016-11-11  Brent Fulgham  <[email protected]>
 
+        Unreviewed build fix after r208628
+
+        * bindings/js/SerializedScriptValue.cpp:
+        (WebCore::CloneDeserializer::readTerminal): Cast pointer arithmetic to
+        uint32_t to avoid warning.
+
+2016-11-11  Brent Fulgham  <[email protected]>
+
         Neutered ArrayBuffers are not properly serialized
         https://bugs.webkit.org/show_bug.cgi?id=164647
         <rdar://problem/29213490>

Modified: trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp (208628 => 208629)


--- trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp	2016-11-12 00:32:59 UTC (rev 208628)
+++ trunk/Source/WebCore/bindings/js/SerializedScriptValue.cpp	2016-11-12 00:40:52 UTC (rev 208629)
@@ -2274,7 +2274,7 @@
             uint32_t length;
             if (!read(length))
                 return JSValue();
-            if (m_end - m_ptr < length) {
+            if (static_cast<uint32_t>(m_end - m_ptr) < length) {
                 fail();
                 return JSValue();
             }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to