summaryrefslogtreecommitdiff
path: root/lib/std/syswrap-ss+openbsd.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/std/syswrap-ss+openbsd.myr')
-rw-r--r--lib/std/syswrap-ss+openbsd.myr4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/syswrap-ss+openbsd.myr b/lib/std/syswrap-ss+openbsd.myr
index 42605ab..0f4ed65 100644
--- a/lib/std/syswrap-ss+openbsd.myr
+++ b/lib/std/syswrap-ss+openbsd.myr
@@ -22,8 +22,8 @@ const nanosleep = {nsecs
var req, rem
var s, ns
- s = nsecs / 1_000_000_000
- ns = nsecs % 1_000_000_000
+ s = (nsecs / 1_000_000_000 : int64)
+ ns = (nsecs % 1_000_000_000 : int64)
req = [.sec = s, .nsec = ns]
-> (sys.nanosleep(&req, &rem) : errno)