-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
stat.Rdev (variable of type uint32) as uint64 #1574
Comments
Could you show us those? Thank you.
|
https://cs.opensource.google/go/x/sys/+/refs/tags/v0.15.0:unix/ztypes_linux_mips.go#L92 Lines 92 Not all arch of linux is uint64, so must convert it |
Please fix this bug quickly |
Same problem when build project for Mipsle. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
[A clear and concise description of what the bug is.]
To Reproduce
// paste example code reproducing the bug you are reporting
Expected behavior
[A clear and concise description of what you expected to happen.]
Environment (please complete the following information):
ver
]/etc/os-release
and the result ofuname -a
]sw_vers
anduname -a
freebsd-version -k -r -u
anduname -a
]uname -a
]Additional context
[Cross-compiling? Paste the command you are using to cross-compile and the result of the corresponding
go env
]E:\Go\pkg\mod\github.com\shirou\gopsutil\v3@v3.23.12\disk\disk_linux.go:510:22: cannot use stat.Rdev (variable of type uint32) as uint64 value in argument to unix.Major
E:\Go\pkg\mod\github.com\shirou\gopsutil\v3@v3.23.12\disk\disk_linux.go:511:22: cannot use stat.Rdev (variable of type uint32) as uint64 value in argument to unix.Minor
E:\Go\pkg\mod\github.com\shirou\gopsutil\v3@v3.23.12\disk\disk_linux.go:544:22: cannot use stat.Rdev (variable of type uint32) as uint64 value in argument to unix.Major
E:\Go\pkg\mod\github.com\shirou\gopsutil\v3@v3.23.12\disk\disk_linux.go:545:22: cannot use stat.Rdev (variable of type uint32) as uint64 value in argument to unix.Minor
The text was updated successfully, but these errors were encountered: