Title: [239395] trunk/Source/WebCore
Revision
239395
Author
csaave...@igalia.com
Date
2018-12-19 14:24:04 -0800 (Wed, 19 Dec 2018)

Log Message

ContentExtensions: DFANode.cpp:66:44: error: narrowing conversion of '-1' from 'int' to 'char' inside { }
https://bugs.webkit.org/show_bug.cgi?id=192854

Reviewed by Alex Christensen.

* contentextensions/DFANode.h: Define CharRange's chars as signed

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (239394 => 239395)


--- trunk/Source/WebCore/ChangeLog	2018-12-19 22:09:22 UTC (rev 239394)
+++ trunk/Source/WebCore/ChangeLog	2018-12-19 22:24:04 UTC (rev 239395)
@@ -1,3 +1,12 @@
+2018-12-19  Claudio Saavedra  <csaave...@igalia.com>
+
+        ContentExtensions: DFANode.cpp:66:44: error: narrowing conversion of '-1' from 'int' to 'char' inside { }
+        https://bugs.webkit.org/show_bug.cgi?id=192854
+
+        Reviewed by Alex Christensen.
+
+        * contentextensions/DFANode.h: Define CharRange's chars as signed
+
 2018-12-19  Youenn Fablet  <you...@apple.com>
 
         Remove RTCRtpTransceiver.setDirection

Modified: trunk/Source/WebCore/contentextensions/DFANode.h (239394 => 239395)


--- trunk/Source/WebCore/contentextensions/DFANode.h	2018-12-19 22:09:22 UTC (rev 239394)
+++ trunk/Source/WebCore/contentextensions/DFANode.h	2018-12-19 22:24:04 UTC (rev 239395)
@@ -38,8 +38,8 @@
 struct DFA;
 
 struct CharRange {
-    char first;
-    char last;
+    signed char first;
+    signed char last;
     unsigned size() const { return last - first + 1; }
 };
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to