Title: [221467] trunk/Source/WebCore
Revision
221467
Author
[email protected]
Date
2017-08-31 19:01:43 -0700 (Thu, 31 Aug 2017)

Log Message

Attempt to fix the Apple Windows and WinCairo build following <https://trac.webkit.org/changeset/221459>
(https://bugs.webkit.org/show_bug.cgi?id=176171)

Explicitly cast PseudoIds to unsigned before computing a difference between two PseudoIds.

* rendering/style/RenderStyle.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (221466 => 221467)


--- trunk/Source/WebCore/ChangeLog	2017-09-01 01:47:33 UTC (rev 221466)
+++ trunk/Source/WebCore/ChangeLog	2017-09-01 02:01:43 UTC (rev 221467)
@@ -1,3 +1,12 @@
+2017-08-31  Daniel Bates  <[email protected]>
+
+        Attempt to fix the Apple Windows and WinCairo build following <https://trac.webkit.org/changeset/221459>
+        (https://bugs.webkit.org/show_bug.cgi?id=176171)
+
+        Explicitly cast PseudoIds to unsigned before computing a difference between two PseudoIds.
+
+        * rendering/style/RenderStyle.h:
+
 2017-08-31  Alex Christensen  <[email protected]>
 
         Add ObjC SPI corresponding to WKPageLoaderClient's webGLLoadPolicy and resolveWebGLLoadPolicy

Modified: trunk/Source/WebCore/rendering/style/RenderStyle.h (221466 => 221467)


--- trunk/Source/WebCore/rendering/style/RenderStyle.h	2017-09-01 01:47:33 UTC (rev 221466)
+++ trunk/Source/WebCore/rendering/style/RenderStyle.h	2017-09-01 02:01:43 UTC (rev 221467)
@@ -1775,7 +1775,7 @@
         unsigned isLink : 1;
 
         unsigned styleType : 4; // PseudoId
-        unsigned pseudoBits : (FIRST_INTERNAL_PSEUDOID - FIRST_PUBLIC_PSEUDOID);
+        unsigned pseudoBits : (static_cast<unsigned>(FIRST_INTERNAL_PSEUDOID) - static_cast<unsigned>(FIRST_PUBLIC_PSEUDOID));
 
         // If you add more style bits here, you will also need to update RenderStyle::NonInheritedFlags::copyNonInheritedFrom().
     };
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to