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

ReadAt([]byte, uint) - uint is close to unworkable on 32bit platforms #2

Open
joonas-fi opened this issue Apr 23, 2021 · 1 comment

Comments

@joonas-fi
Copy link

int/uint is platform bit size. On 32bit platforms this limits block device sizes to 4 GB which is... small for block devices.

Almost all Go file APIs use int64 for sizes

@prologic
Copy link

int/uint is platform bit size. On 32bit platforms this limits block device sizes to 4 GB which is... small for block devices.

Almost all Go file APIs use int64 for sizes

Maybe you could submit a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants