Skip to content

Commit 7945e4b

Browse files
authored
Merge pull request #474 from sdcoffey/main
Use MaxInt32 instead of MaxInt64 to determine repeating group tag order
2 parents 0aa61fd + 5a0b905 commit 7945e4b

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
@@ -145,8 +145,8 @@ func (f RepeatingGroup) groupTagOrder() tagOrder {
145145
}
146146

147147
return func(i, j Tag) bool {
148-
orderi := math.MaxInt64
149-
orderj := math.MaxInt64
148+
orderi := math.MaxInt32
149+
orderj := math.MaxInt32
150150

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

0 commit comments

Comments
 (0)