summaryrefslogtreecommitdiff
path: root/lib/std/syswrap-ss+osx.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/syswrap-ss+osx.myr')
-rw-r--r--lib/std/syswrap-ss+osx.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/syswrap-ss+osx.myr b/lib/std/syswrap-ss+osx.myr
index a773949..53a1db1 100644
--- a/lib/std/syswrap-ss+osx.myr
+++ b/lib/std/syswrap-ss+osx.myr
@@ -17,8 +17,8 @@ extern const put : (fmt : byte[:], args : ... -> int64)
const nanosleep = {nsecs
var s, us
- s = nsecs / 1_000_000_000
- us = (nsecs % 1_000_000_000 / 1000 : uint32)
+ s = (nsecs / 1_000_000_000 : int64)
+ us = (nsecs % 1_000_000_000 / 1000 : int32)
-> (sys.select( \
0, \
(0 : sys.fdset#), \