[lworld] RFR: 8372394: [lworld] c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int'

Tobias Hartmann thartmann at openjdk.org
Mon Nov 24 15:43:28 UTC 2025


On Mon, 24 Nov 2025 13:16:43 GMT, Paul Hübner <phubner at openjdk.org> wrote:

> Hi all,
> 
> This fixes build failures on Windows due to a missed `size_t` to `int` narrowing in an argument. This was a result of increasing the size of an offset to a `size_t` in [https://bugs.openjdk.org/browse/JDK-8371604](https://bugs.openjdk.org/browse/JDK-8371604). 
> 
> I've taken a look at the original PR and noticed that a test file doesn't reference the specially-created constant. I've gone ahead and fixed that too.

Looks good.

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

Marked as reviewed by thartmann (Committer).

PR Review: https://git.openjdk.org/valhalla/pull/1758#pullrequestreview-3501035305


More information about the valhalla-dev mailing list