]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
cmd/fscrypt: fix 32-bit build
authorEric Biggers <ebiggers@google.com>
Wed, 3 Jun 2020 00:17:54 +0000 (17:17 -0700)
committerEric Biggers <ebiggers@google.com>
Wed, 3 Jun 2020 00:50:30 +0000 (17:50 -0700)
commit3b075f2fda880256b3d9de2e6197a224adc0a39f
tree49b717b4fc9ffaa3c74d8388296802dbd853c4c1
parent3c15a7a05bd7673d2ca4650dd1525df408d20728
cmd/fscrypt: fix 32-bit build

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 https://github.com/google/fscrypt/issues/233
cmd/fscrypt/errors.go