[webkit-changes] [WebKit/WebKit] 9487cc: [Win] SignalsWin.cpp: error: case value evaluates ...
Fujii Hironori
noreply at github.com
Tue Aug 15 21:17:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9487cc29d6e221e23a0e632fefb8e157e103e8ce
https://github.com/WebKit/WebKit/commit/9487cc29d6e221e23a0e632fefb8e157e103e8ce
Author: Fujii Hironori <Hironori.Fujii at 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 at 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
More information about the webkit-changes
mailing list