[lworld] RFR: 8372394: [lworld] c1_LIRGenerator.cpp(2313): warning C4267: 'argument': conversion from 'size_t' to 'int'
Paul Hübner
phubner at openjdk.org
Mon Nov 24 15:43:29 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.
Thanks for the review Tobias.
-------------
PR Comment: https://git.openjdk.org/valhalla/pull/1758#issuecomment-3571444110
More information about the valhalla-dev
mailing list