From d2667409eaf12801427a391c9cdc4363757f957a Mon Sep 17 00:00:00 2001 From: cheatfate Date: Wed, 3 Oct 2018 03:56:16 +0300 Subject: [PATCH] Fix overflow in timers test. --- tests/testtime.nim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testtime.nim b/tests/testtime.nim index ae44615..224a1c6 100644 --- a/tests/testtime.nim +++ b/tests/testtime.nim @@ -28,16 +28,16 @@ proc waitAll[T](futs: seq[Future[T]]): Future[void] = fut.addCallback(cb) return retFuture -proc test(timeout: int): Future[int] {.async.} = +proc test(timeout: int): Future[int64] {.async.} = var workers = newSeq[Future[int]](TimersCount) for i in 0..