summary refs log tree commit diff stats
path: root/lib/posix/posix.nim
diff options
context:
space:
mode:
Diffstat (limited to 'lib/posix/posix.nim')
-rwxr-xr-xlib/posix/posix.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix.nim b/lib/posix/posix.nim
index ff121777e..57b683c3a 100755
--- a/lib/posix/posix.nim
+++ b/lib/posix/posix.nim
@@ -415,7 +415,7 @@ when hasSpawnH:
                                  header: "<spawn.h>", final, pure.} = object
 
 type
-  TSocklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cint
+  TSocklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint
   TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cint
   
   TSockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>",