-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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 integer overflow error when building for 386 #1541
Conversation
The untyped const causes conversion to int, for which the value is too large. Use a typed const instead that is large enough to store value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @gammazero 🎉 . This might fix the build but we've seen other cannot allocate memory
errors on 386. We can handle those in a separate PR.
@NamanJain8 review please.
Thanks for helping with the review @damz :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good. Thanks, @gammazero.
Not directly related to the PR itself, @jarifibrahim I was wondering about the use of |
Co-authored-by: Ibrahim Jarif <[email protected]>
The DeepSource and the travis-ci build failures are not related to this PR, and can/should be fixed in a separate PR. |
Thanks for fixing this @gammazero |
The untyped const causes conversion to int, for which the value is too large. Use a typed const instead that is large enough to store value.
Hi, will this fix be backported to v2.2007? |
I have created #1558 to fix this issue in v2.2007. |
The untyped const causes conversion to int, for which the value is too large. Use a typed const instead that is large enough to store value. Similar to #1541, but for v2.2007 branch.
The untyped const causes conversion to int, for which the value is too large.
Use a typed const instead that is large enough to store value.
This change is![Reviewable](https://camo.githubusercontent.com/1541c4039185914e83657d3683ec25920c672c6c5c7ab4240ee7bff601adec0b/68747470733a2f2f72657669657761626c652e696f2f7265766965775f627574746f6e2e737667)