On Mon, 24 Nov 2025 13:16:43 GMT, Paul Hübner <[email protected]> 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.

This pull request has now been integrated.

Changeset: 5ab11799
Author:    Paul Hübner <[email protected]>
Committer: Tobias Hartmann <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/5ab117997077214da9362bf456b86d8c5ae017e4
Stats:     4 lines in 3 files changed: 0 ins; 0 del; 4 mod

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

Reviewed-by: thartmann

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

PR: https://git.openjdk.org/valhalla/pull/1758

Reply via email to