Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9487cc29d6e221e23a0e632fefb8e157e103e8ce
      
https://github.com/WebKit/WebKit/commit/9487cc29d6e221e23a0e632fefb8e157e103e8ce
  Author: Fujii Hironori <hironori.fu...@sony.com>
  Date:   2023-08-15 (Tue, 15 Aug 2023)

  Changed paths:
    M Source/WTF/wtf/win/SignalsWin.cpp

  Log Message:
  -----------
  [Win] SignalsWin.cpp: error: case value evaluates to 3221225613, which cannot 
be narrowed to type 'int'
https://bugs.webkit.org/show_bug.cgi?id=260222

Reviewed by Ross Kirsling.

After 266716@main, clang-cl reports the following error for Windows port.

> WTF\wtf\win\SignalsWin.cpp(82,10): error: case value evaluates to 3221225613, 
> which cannot be narrowed to type 'int' [-Wc++11-narrowing]
>     case EXCEPTION_FLT_DENORMAL_OPERAND:

We shouldn't convert a DWORD signal type to int.

* Source/WTF/wtf/win/SignalsWin.cpp:
(WTF::fromSystemException): Take the argument as a DWORD.

Canonical link: https://commits.webkit.org/266936@main


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to