summaryrefslogtreecommitdiff
path: root/lib/sys/sys+openbsd:6.2-x64.myr
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sys/sys+openbsd:6.2-x64.myr')
-rw-r--r--lib/sys/sys+openbsd:6.2-x64.myr10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sys/sys+openbsd:6.2-x64.myr b/lib/sys/sys+openbsd:6.2-x64.myr
index 672c844..598d381 100644
--- a/lib/sys/sys+openbsd:6.2-x64.myr
+++ b/lib/sys/sys+openbsd:6.2-x64.myr
@@ -49,13 +49,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
;;
type timezone = struct
@@ -1174,7 +1174,7 @@ pkg sys =
const sleep = {time
var req, rem
- req = [.sec = time, .nsec = 0]
+ req = [.sec = (time : int64), .nsec = 0]
-> nanosleep(&req, &rem)
}