cmd/storj-sim: fix 32bit code

Change-Id: Ieec74f2a8ed1a207e7deff0f9072c1243cb1e3be
This commit is contained in:
Egon Elbre 2020-12-09 09:36:35 +02:00
parent 3c77825b19
commit 5b6fcfb725

View File

@ -6,6 +6,7 @@ package main
import (
"context"
"fmt"
"math"
"os"
"time"
@ -132,7 +133,7 @@ func main() {
target := args[0]
if *retries <= 0 {
*retries = 1 << 31
*retries = math.MaxInt32
}
for try := 0; try < *retries; try++ {
if tryConnect(target) {