diff options
author | Oscar NihlgÄrd <oscarnihlgard@gmail.com> | 2018-04-18 21:24:28 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-04-18 21:24:28 +0200 |
commit | fdf1d123804df3325211384e1c438295ea23bbd3 (patch) | |
tree | 74d91d6c9ef88ecfb384863709afc4ddbb16f739 /lib/posix/posix_other.nim | |
parent | b9cafe5752f0772b6c05b78c45cd72b8c0932de2 (diff) | |
download | Nim-fdf1d123804df3325211384e1c438295ea23bbd3.tar.gz |
Change type of `Timeval.tv_sec` to `posix.Time` (#7646)
Diffstat (limited to 'lib/posix/posix_other.nim')
-rw-r--r-- | lib/posix/posix_other.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim index 01bc1c1e5..ae41263e8 100644 --- a/lib/posix/posix_other.nim +++ b/lib/posix/posix_other.nim @@ -335,8 +335,8 @@ type Timeval* {.importc: "struct timeval", header: "<sys/select.h>", final, pure.} = object ## struct timeval - tv_sec*: int ## Seconds. - tv_usec*: int ## Microseconds. + tv_sec*: Time ## Seconds. + tv_usec*: Suseconds ## Microseconds. TFdSet* {.importc: "fd_set", header: "<sys/select.h>", final, pure.} = object Mcontext* {.importc: "mcontext_t", header: "<ucontext.h>", |