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