aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rw-r--r--internal/nametransform/names.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/nametransform/names.go b/internal/nametransform/names.go
index 939d31e..e07ccfb 100644
--- a/internal/nametransform/names.go
+++ b/internal/nametransform/names.go
@@ -44,7 +44,7 @@ func New(e *eme.EMECipher, longNames bool, longNameMax uint8, raw64 bool, badnam
if raw64 {
b64 = base64.RawURLEncoding
}
- var effectiveLongNameMax int = math.MaxInt
+ var effectiveLongNameMax int = math.MaxInt32
if longNames {
if longNameMax == 0 {
effectiveLongNameMax = NameMax