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

duke duke at openjdk.org
Mon Nov 24 15:43:30 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.

@Arraying 
Your change (at version b6857350e010993eb3e808f5129188f1a28f25dd) is now ready to be sponsored by a Committer.

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

PR Comment: https://git.openjdk.org/valhalla/pull/1758#issuecomment-3571451864


More information about the valhalla-dev mailing list