From 074e977e9090b07f64ec191b6ac96e5de060f3d5 Mon Sep 17 00:00:00 2001 From: Gani Georgiev Date: Sat, 28 Dec 2024 10:23:40 +0200 Subject: [PATCH] use typed int64 const --- core/field.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/field.go b/core/field.go index 6283ca7e..8ee4d502 100644 --- a/core/field.go +++ b/core/field.go @@ -13,7 +13,7 @@ import ( var fieldNameRegex = regexp.MustCompile(`^\w+$`) -const maxSafeJSONInt = 1<<53 - 1 +const maxSafeJSONInt int64 = 1<<53 - 1 // Commonly used field names. const (