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

cmd/fscrypt: fix 32-bit build #235

Merged
merged 2 commits into from
Jun 3, 2020
Merged

cmd/fscrypt: fix 32-bit build #235

merged 2 commits into from
Jun 3, 2020

Conversation

ebiggers
Copy link
Collaborator

@ebiggers ebiggers commented Jun 3, 2020

statfs.Bsize actually has platform-dependent type, despite the Go
documentation listing it as int64.

Resolves #233

Don't let people check in code that breaks 32-bit builds.

Update #233
statfs.Bsize actually has platform-dependent type, despite the Go
documentation listing it as int64.  Fix the build for 32-bit platforms
by casting it to int64.

Resolves #233
@ebiggers ebiggers merged commit 9649ed0 into google:master Jun 3, 2020
@ebiggers ebiggers deleted the 32bit-fix branch June 3, 2020 01:02
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

Successfully merging this pull request may close these issues.

fscrypt fails to build on 32bit x86: mismatched types int32 and int64
1 participant