summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-10-15 20:26:51 +0200
committerAndreas Rumpf <rumpf_a@web.de>2017-10-15 20:27:02 +0200
commitb27e587087fd0cf9dbb55573c9f87a2eaaaa7bcb (patch)
treeae515a9dba0eee4666978d909829cedbfa87602b /lib
parent5cd6316ac6fc67ef316b1db7a1fe5179d1f5e900 (diff)
downloadNim-b27e587087fd0cf9dbb55573c9f87a2eaaaa7bcb.tar.gz
fixes #6496
Diffstat (limited to 'lib')
-rw-r--r--lib/posix/posix_other.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim
index 69f6acfb8..7321889a8 100644
--- a/lib/posix/posix_other.nim
+++ b/lib/posix/posix_other.nim
@@ -146,7 +146,7 @@ type
   Mode* {.importc: "mode_t", header: "<sys/types.h>".} = cint
   Nlink* {.importc: "nlink_t", header: "<sys/types.h>".} = int
   Off* {.importc: "off_t", header: "<sys/types.h>".} = int64
-  Pid* {.importc: "pid_t", header: "<sys/types.h>".} = int
+  Pid* {.importc: "pid_t", header: "<sys/types.h>".} = int32
   Pthread_attr* {.importc: "pthread_attr_t", header: "<sys/types.h>".} = int
   Pthread_barrier* {.importc: "pthread_barrier_t",
                       header: "<sys/types.h>".} = int