summaryrefslogtreecommitdiff
path: root/lib/sys/sys+openbsd:6.1-x64.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/sys+openbsd:6.1-x64.myr')
-rw-r--r--lib/sys/sys+openbsd:6.1-x64.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sys/sys+openbsd:6.1-x64.myr b/lib/sys/sys+openbsd:6.1-x64.myr
index ced1a80..9314394 100644
--- a/lib/sys/sys+openbsd:6.1-x64.myr
+++ b/lib/sys/sys+openbsd:6.1-x64.myr
@@ -44,13 +44,13 @@ pkg sys =
;;
type timespec = struct
- sec : uint64
- nsec : uint64
+ sec : int64
+ nsec : int64
;;
type timeval = struct
- sec : uint64
- usec : uint64
+ sec : int64
+ usec : int64
;;
@@ -1168,7 +1168,7 @@ pkg sys =
const sleep = {time
var req, rem
- req = [.sec = time, .nsec = 0]
+ req = [.sec = (time : int64), .nsec = 0]
-> nanosleep(&req, &rem)
}