diff options
author | LemonBoy <LemonBoy@users.noreply.github.com> | 2018-09-17 10:51:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-17 10:51:42 +0200 |
commit | 6dc6ea41468dc99c8826b03b512af8f9a46e660d (patch) | |
tree | 94831ccf68b5f97487db4bd0c1170e52078c5651 | |
parent | 4ae9198493d85382c80a5c9436b86c5a6f3483c1 (diff) | |
parent | 62e3579655696e19a965f95f9e67cc0560ad602f (diff) | |
download | Nim-6dc6ea41468dc99c8826b03b512af8f9a46e660d.tar.gz |
Merge pull request #8981 from LemonBoy/fix-socket-reg
Fix regression due to type change
-rw-r--r-- | lib/posix/posix_other.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim index ba1dd89ed..99d67824e 100644 --- a/lib/posix/posix_other.nim +++ b/lib/posix/posix_other.nim @@ -410,7 +410,7 @@ else: type Socklen* {.importc: "socklen_t", header: "<sys/socket.h>".} = cuint - TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cushort + TSa_Family* {.importc: "sa_family_t", header: "<sys/socket.h>".} = cint SockAddr* {.importc: "struct sockaddr", header: "<sys/socket.h>", pure, final.} = object ## struct sockaddr |