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

[linux][disk]: fix Rdev cast #1575

Merged
merged 2 commits into from
Jan 14, 2024
Merged

[linux][disk]: fix Rdev cast #1575

merged 2 commits into from
Jan 14, 2024

Conversation

shirou
Copy link
Owner

@shirou shirou commented Jan 1, 2024

Add uint64 cast. perhaps this can fix #1574, but we need more information.

related: #1573

@CoiaPrant233
Copy link

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

@shirou shirou merged commit 442e0ad into master Jan 14, 2024
37 checks passed
@shirou shirou deleted the feat/fix_disk_unix_uint64cast branch January 14, 2024 09:22
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.

stat.Rdev (variable of type uint32) as uint64
2 participants