Skip to content

Commit 5a0b905

Browse files
committed
use MaxInt32 values to enable compilation on 32-bit systems
1 parent 94d7217 commit 5a0b905

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

repeating_group.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ func (f RepeatingGroup) groupTagOrder() tagOrder {
144144
}
145145

146146
return func(i, j Tag) bool {
147-
orderi := math.MaxInt64
148-
orderj := math.MaxInt64
147+
orderi := math.MaxInt32
148+
orderj := math.MaxInt32
149149

150150
if iIndex, ok := tagMap[i]; ok {
151151
orderi = iIndex

0 commit comments

Comments
 (0)