summary refs log tree commit diff stats
path: root/lib/posix/posix_macos_amd64.nim
diff options
context:
space:
mode:
authorwltsmrz <wlt@smrz.dev>2020-08-22 17:14:50 -0400
committerGitHub <noreply@github.com>2020-08-22 23:14:50 +0200
commit9bae1ed205875dee7fd58cf1d740db0d70130228 (patch)
tree977737332fa0cb852554047df1b790e46f8787a7 /lib/posix/posix_macos_amd64.nim
parent66eba3388aacba20c49b925c9c700f988fb9e5d0 (diff)
downloadNim-9bae1ed205875dee7fd58cf1d740db0d70130228.tar.gz
Unsigned iovlen (#15216)
Diffstat (limited to 'lib/posix/posix_macos_amd64.nim')
-rw-r--r--lib/posix/posix_macos_amd64.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_macos_amd64.nim b/lib/posix/posix_macos_amd64.nim
index 33f2c5c41..94c08acad 100644
--- a/lib/posix/posix_macos_amd64.nim
+++ b/lib/posix/posix_macos_amd64.nim
@@ -411,7 +411,7 @@ type
   IOVec* {.importc: "struct iovec", pure, final,
             header: "<sys/uio.h>".} = object ## struct iovec
     iov_base*: pointer ## Base address of a memory region for input or output.
-    iov_len*: int    ## The size of the memory pointed to by iov_base.
+    iov_len*: csize_t    ## The size of the memory pointed to by iov_base.
 
   Tmsghdr* {.importc: "struct msghdr", pure, final,
              header: "<sys/socket.h>".} = object  ## struct msghdr