aboutsummaryrefslogtreecommitdiff
path: root/cmd/fscrypt
diff options
context:
space:
mode:
authorFilip Stanis <fstanis@google.com>2020-05-05 02:48:26 +0100
committerEric Biggers <ebiggers@google.com>2020-05-09 10:12:52 -0700
commitc5764330ebc69f15b9bf13b94cfef45732864b5a (patch)
tree9923dedcefa40cf3de864cf980fc04b2fe66ff6f /cmd/fscrypt
parentfe860934c793276100b7a60ebbb9325a2cfd910d (diff)
keyring: cast FS_IOC_REMOVE_ENCRYPTION_KEY to uintptr (#221)
Since v0.2.6, fscrypt only builds for 64-bit systems. E.g. trying to build on Raspbian fails with the following error: $ go get github.com/google/fscrypt/cmd/fscrypt # github.com/google/fscrypt/keyring go/src/github.com/google/fscrypt/keyring/fs_keyring.go:231:6: constant 3225445912 overflows int go/src/github.com/google/fscrypt/keyring/fs_keyring.go:235:7: constant 3225445913 overflows int Fix it by making the 'ioc' variable have type uintptr. [EB - removed the later cast to uintptr that became unnecessary, and added explanation to commit message.]
Diffstat (limited to 'cmd/fscrypt')
0 files changed, 0 insertions, 0 deletions