Skip to content

Commit

Permalink
fixes #23844; Nim devel nightly i386 build failing
Browse files Browse the repository at this point in the history
fixes #23844
  • Loading branch information
ringabout authored Jul 17, 2024
1 parent fe48de4 commit d741fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/osproc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -1406,7 +1406,7 @@ elif not defined(useNimRtl):
waitSpec: TimeSpec
unused: Timespec
waitSpec.tv_sec = posix.Time(secs)
waitSpec.tv_nsec = ns
waitSpec.tv_nsec = int ns
discard posix.clock_nanosleep(CLOCK_MONOTONIC, TIMER_ABSTIME, waitSpec, unused)
let remaining = deadline - getMonoTime()
delay = min([delay * 2, remaining, maxWait])
Expand Down

0 comments on commit d741fc8

Please sign in to comment.