timers.nim: avoid parser warning

This commit is contained in:
Araq
2018-12-14 09:56:43 +01:00
parent ce9815bcf5
commit 359a4b5fac

View File

@@ -49,7 +49,7 @@ elif defined(macosx):
mach_timebase_info(timeBaseInfo)
proc `-`(a, b: Ticks): Nanos =
result = (a.int64 - b.int64) * timeBaseInfo.numer div timeBaseInfo.denom
result = (a.int64 - b.int64) * timeBaseInfo.numer div timeBaseInfo.denom
elif defined(posixRealtime):
type