Bug 244577 - [WTF] clang warning in ThreadCondition::timedWait()
Summary: [WTF] clang warning in ThreadCondition::timedWait()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-31 02:18 PDT by Philippe Normand
Modified: 2022-08-31 07:10 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2022-08-31 02:18:10 PDT
/app/webkit/Source/WTF/wtf/posix/ThreadingPOSIX.cpp:612:49: warning: implicit conversion from 'long' to 'double' changes value from 9223372036854775807 to 9223372036854775808 [-Wimplicit-const-int-float-conversion]
    if (absoluteTime > WallTime::fromRawSeconds(std::numeric_limits<time_t>::max())) {
                       ~~~~~~~~                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Comment 1 Philippe Normand 2022-08-31 02:20:01 PDT
Pull request: https://github.com/WebKit/WebKit/pull/3845
Comment 2 EWS 2022-08-31 07:09:47 PDT
Committed 253981@main (540e189f3d4e): <https://commits.webkit.org/253981@main>

Reviewed commits have been landed. Closing PR #3845 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-08-31 07:10:19 PDT
<rdar://problem/99381554>