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

Fix explicit type conversion to u64 for GC::Stats #12779

Merged

Conversation

straight-shoota
Copy link
Member

On 32-bit systems, libgc returns 32-bit integers. This patch ensures explicit type conversions when compiling with -Dno_number_autocast.

Resolves #12634

On 32-bit systems, libgc returns 32-bit integers. This patch ensures
explicit type conversions when compiling with `-Dno_number_autocast`.
@straight-shoota straight-shoota added this to the 1.7.0 milestone Dec 2, 2022
@straight-shoota straight-shoota changed the title Fix explicit type conversion to u64 for GC::Stats Fix explicit type conversion to u64 for GC::Stats Dec 5, 2022
@straight-shoota straight-shoota merged commit ae173ee into crystal-lang:master Dec 5, 2022
@straight-shoota straight-shoota deleted the fix/i386-gc-stats branch December 5, 2022 21:01
@rdp
Copy link
Contributor

rdp commented Dec 6, 2022

Works well thank you!

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants