From 0305277a6c7734794c611b1a8350c0fb118dcfc7 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 17 May 2018 12:21:27 +0300 Subject: [PATCH] One more macos fix. --- asyncdispatch2/timer.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asyncdispatch2/timer.nim b/asyncdispatch2/timer.nim index ff1c4b57..6daf4ea0 100644 --- a/asyncdispatch2/timer.nim +++ b/asyncdispatch2/timer.nim @@ -30,7 +30,7 @@ elif defined(macosx): proc fastEpochTime*(): uint64 {.inline.} = var t: Timeval posix_gettimeofday(t) - result = (a.tv_sec * 1_000 + a.tv_usec div 1_000) + result = (t.tv_sec * 1_000 + t.tv_usec div 1_000) elif defined(posix):