RFR: 8313882: Fix -Wconversion warnings in runtime code [v6]

Coleen Phillimore coleenp at openjdk.org
Thu Aug 10 01:29:28 UTC 2023


On Thu, 10 Aug 2023 00:22:57 GMT, Dean Long <dlong at openjdk.org> wrote:

>> If this is intptr_t, it'll get a Wconversion warning on the uses that expect int.
>
> OK, in that case checked_cast<int>() would be more correct.

Ok.  Added a checked_cast.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15177#discussion_r1289404613


More information about the graal-dev mailing list