summaryrefslogtreecommitdiff
path: root/gocryptfs-xray
diff options
context:
space:
mode:
authorJakob Unterwurzacher2021-10-21 16:42:00 +0200
committerJakob Unterwurzacher2021-10-21 16:44:05 +0200
commit87a6bb370acc3690e89a8b0d5109fcb0dab0a374 (patch)
tree261c829a493465845e524e5c4b0da0cae301ae2e /gocryptfs-xray
parentd14c9340d6fb473e9837e91db8b6e869c37ad8e5 (diff)
nametransform: fix math.MaxInt build failure on older Go
Failure is: # github.com/rfjakob/gocryptfs/v2/internal/nametransform internal/nametransform/names.go:47:33: undefined: math.MaxInt math.MaxInt was only introduced in Go 1.17. Use MaxInt32 instead, which is good enough, even on amd64. It only has to be larger than any name we might encounter.
Diffstat (limited to 'gocryptfs-xray')
0 files changed, 0 insertions, 0 deletions