From 62e3579655696e19a965f95f9e67cc0560ad602f Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Sun, 16 Sep 2018 20:29:45 +0200 Subject: [PATCH] Fix regression due to type change The change is technically correct but requires too much type juggling and the effort outweighs the gains. --- lib/posix/posix_other.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim index ba1dd89ede..99d67824e6 100644 --- a/lib/posix/posix_other.nim +++ b/lib/posix/posix_other.nim @@ -410,7 +410,7 @@ else: type Socklen* {.importc: "socklen_t", header: "".} = cuint - TSa_Family* {.importc: "sa_family_t", header: "".} = cushort + TSa_Family* {.importc: "sa_family_t", header: "".} = cint SockAddr* {.importc: "struct sockaddr", header: "", pure, final.} = object ## struct sockaddr