Skip to content

Commit 3dd59d8

Browse files
committed
changing test-server seqnum to uint64
1 parent 290cdc6 commit 3dd59d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_test/test-server/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ func main() {
200200
}
201201
num, ok := queryParams["NEXTTARGETSEQNUM"]
202202
if ok {
203-
seqnumInt, cErr := strconv.Atoi(num[0])
203+
seqnumInt, cErr := strconv.ParseUint(num[0], 10, 64)
204204
if cErr != nil {
205205
fmt.Println("cannot find seqnum")
206206
os.Exit(1)
@@ -216,7 +216,7 @@ func main() {
216216

217217
num, ok = queryParams["NEXTSENDERSEQNUM"]
218218
if ok {
219-
seqnumInt, cErr := strconv.Atoi(num[0])
219+
seqnumInt, cErr := strconv.ParseUint(num[0], 10, 64)
220220
if cErr != nil {
221221
fmt.Println("cannot find seqnum")
222222
os.Exit(1)

0 commit comments

Comments
 (0)