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_linux_amd64.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_linux_amd64.nim')
-rw-r--r-- | lib/posix/posix_linux_amd64.nim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/posix/posix_linux_amd64.nim b/lib/posix/posix_linux_amd64.nim index 9e6211b63..4f114d394 100644 --- a/lib/posix/posix_linux_amd64.nim +++ b/lib/posix/posix_linux_amd64.nim @@ -351,8 +351,8 @@ type Timeval* {.importc: "struct timeval", header: "<sys/select.h>", final, pure.} = object ## struct timeval - tv_sec*: clong ## Seconds. - tv_usec*: clong ## Microseconds. + tv_sec*: Time ## Seconds. + tv_usec*: Suseconds ## Microseconds. TFdSet* {.importc: "fd_set", header: "<sys/select.h>", final, pure.} = object abi: array[1024 div (8 * sizeof(clong)), clong] |