summary refs log tree commit diff stats
path: root/lib/posix/posix_openbsd_amd64.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/posix/posix_openbsd_amd64.nim')
-rw-r--r--lib/posix/posix_openbsd_amd64.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_openbsd_amd64.nim b/lib/posix/posix_openbsd_amd64.nim
index 4f34791fe..584d06501 100644
--- a/lib/posix/posix_openbsd_amd64.nim
+++ b/lib/posix/posix_openbsd_amd64.nim
@@ -398,7 +398,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