-
Notifications
You must be signed in to change notification settings - Fork 43
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
use always 64-bit arithemtics #245
Conversation
long is only 32-bit on 32-bit systems and on 64-bit Windows ensure we have consistent behavior
The two Windows CI builds for "arch: x86_64" both fail with " |
Thanks for fixing the missing header! |
@christoph-cullmann A little late, but can you resolve also the compiler Warnings about int64_t?
I guess an explicit cast to These compiler warnings (and all others) are not shown in the Linux and Windows build logs using coinbrew, but show in the Windows MSVS build logs. At least instead of 254 such warnings we'd have a few less. |
Mm, what is the right fix for that? Before there was the same data loss, even more, with the assignment to 32 bit or 64 bit ints. Does one just want a cast? Or does one want to die as it is erroneous if out of range? |
In all three cases, the actual values are integer anyway. For example, |
long is only 32-bit on 32-bit systems and on 64-bit Windows ensure we have consistent behavior