diff options
author | LemonBoy <thatlemon@gmail.com> | 2018-09-16 20:29:45 +0200 |
---|---|---|
committer | LemonBoy <thatlemon@gmail.com> | 2018-09-16 20:29:45 +0200 |
commit | 62e3579655696e19a965f95f9e67cc0560ad602f (patch) | |
tree | efecb61efa608f15e52473ac43bade3cfe0d7641 /lib/posix/posix_other.nim | |
parent | 0330fb2e1322e0b41d406cfbd42c34031b6bda83 (diff) | |
download | Nim-62e3579655696e19a965f95f9e67cc0560ad602f.tar.gz |
Fix regression due to type change
The change is technically correct but requires too much type juggling and the effort outweighs the gains.
Diffstat (limited to 'lib/posix/posix_other.nim')
-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 |