Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 'initializing': conversion from 'u64' to 'u32', possible loss of data #664

Closed
James103 opened this issue Mar 3, 2024 · 1 comment

Comments

@James103
Copy link
Contributor

James103 commented Mar 3, 2024

Version of OpenTTD

PR #663

Expected result

No such warnings

Actual result

When compiling JGRPP on Windows (windows-latest / x86, windows-latest / x64, windows-2019 / x86 or windows-2019 / x64), the following warning is emitted:

'initializing': conversion from 'u64' to 'u32', possible loss of data

u32 index = lane * lane_size + (u32)ref;

Steps to reproduce

Compile JGRPP on Windows (windows-latest / x86, windows-latest / x64, windows-2019 / x86 or windows-2019 / x64).

@JGRennison
Copy link
Owner

Should be fixed in recent releases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants