RFR: 8314114: Fix -Wconversion warnings in os code, primarily linux [v6]
Coleen Phillimore
coleenp at openjdk.org
Mon Aug 14 12:25:29 UTC 2023
On Thu, 10 Aug 2023 19:07:55 GMT, Dean Long <dlong at openjdk.org> wrote:
>> Coleen Phillimore has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Thomas Stuefe and Dean's suggestions, turn Wconversion back off.
>> - revert copyright change
>
> src/hotspot/os/bsd/os_bsd.cpp line 2215:
>
>> 2213: diff = filetime1.tv_nsec - filetime2.tv_nsec;
>> 2214: }
>> 2215: return checked_cast<int>(diff);
>
> Suggestion:
>
> return diff;
done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15229#discussion_r1293371534
More information about the hotspot-dev
mailing list