Skip to content

Commit

Permalink
Merge pull request #474 from sdcoffey/main
Browse files Browse the repository at this point in the history
Use MaxInt32 instead of MaxInt64 to determine repeating group tag order
  • Loading branch information
ackleymi authored Jul 18, 2022
2 parents 0aa61fd + 5a0b905 commit 7945e4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repeating_group.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ func (f RepeatingGroup) groupTagOrder() tagOrder {
}

return func(i, j Tag) bool {
orderi := math.MaxInt64
orderj := math.MaxInt64
orderi := math.MaxInt32
orderj := math.MaxInt32

if iIndex, ok := tagMap[i]; ok {
orderi = iIndex
Expand Down

0 comments on commit 7945e4b

Please sign in to comment.