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
syscall: constant overflows int for mips compile #21596
Comments
@yinheli what is the problem? Do you have any program that fails to compile due to this? The constant itself is ok, because it is an untyped integer instead of int. |
@cherrymui I'm using
env:
https://github.com/songgao/water/blob/6b639456fceabd469cc76f5f4cec653b0cb7ce14/syscalls_linux.go#L86 You mean i have to convert the constant value to uint ? |
It should normally work to change the request parameter of Closing because I don't think there is anything to change in the main Go repo. |
issue detail : golang/go#21596 const is untyped int
go/src/syscall/zerrors_linux_mips.go
Line 1441 in 0b0cc41
32bit system, int max value: 0x7fffffff (2147483647)
The text was updated successfully, but these errors were encountered: