From: Reinhard Tartler <siretart@tauware.de>
Date: Thu, 26 Dec 2024 07:17:09 -0500
Subject: Fix overflow on 32-bit architectures

Forwarded: https://github.com/notaryproject/notation-go/pull/500
---
 notation_test.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/notation_test.go b/notation_test.go
index 64fbe07..83b5934 100644
--- a/notation_test.go
+++ b/notation_test.go
@@ -564,7 +564,7 @@ func TestLocalContent(t *testing.T) {
 		// verify the artifact
 		verifyOpts := VerifyOptions{
 			ArtifactReference:    artifactReference,
-			MaxSignatureAttempts: math.MaxInt64,
+			MaxSignatureAttempts: math.MaxInt,
 		}
 		policyDocument := dummyPolicyDocument()
 		verifier := dummyVerifier{&policyDocument, mock.PluginManager{}, false, *trustpolicy.LevelStrict}
