summaryrefslogtreecommitdiff
path: root/lib/sys/sys+freebsd-x64.myr
diff options
context:
space:
mode:
authoririri <iri@konnichiwastevenspielbergde.su>2018-08-11 19:11:19 -0700
committerOri Bernstein <ori@eigenstate.org>2018-08-14 22:34:01 -0700
commit1db9bc54f99b5489d34b7c048fe3909b0279a317 (patch)
treea157381448158d43b059fb37b35e23d86074f26a /lib/sys/sys+freebsd-x64.myr
parent2cd9927f90410e345fab398fe2573fe6971ef3b0 (diff)
downloadmc-1db9bc54f99b5489d34b7c048fe3909b0279a317.tar.gz
Make timespec/timeval struct members signed to simplify arithmetic.
Every single conversion except for one for OS X is uint64 to int64.
Diffstat (limited to 'lib/sys/sys+freebsd-x64.myr')
-rw-r--r--lib/sys/sys+freebsd-x64.myr8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/sys/sys+freebsd-x64.myr b/lib/sys/sys+freebsd-x64.myr
index a140f0a..e1cfb69 100644
--- a/lib/sys/sys+freebsd-x64.myr
+++ b/lib/sys/sys+freebsd-x64.myr
@@ -262,13 +262,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 itimerval = struct