From 5a0b905782d6282b5df7c55c98f19b4895a528c5 Mon Sep 17 00:00:00 2001 From: sdcoffey Date: Mon, 3 Jan 2022 19:08:01 -0800 Subject: [PATCH] use MaxInt32 values to enable compilation on 32-bit systems --- repeating_group.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repeating_group.go b/repeating_group.go index 811379c37..a8c1aeb4c 100644 --- a/repeating_group.go +++ b/repeating_group.go @@ -144,8 +144,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