From a27429304e77ced5b9ba5729e47d6d6c7b7dae5c Mon Sep 17 00:00:00 2001 From: LemonBoy Date: Wed, 19 Sep 2018 09:24:30 +0200 Subject: Convert *_family fields to cushort Fixes #9008 --- lib/posix/posix_other.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/posix/posix_other.nim') diff --git a/lib/posix/posix_other.nim b/lib/posix/posix_other.nim index 99d67824e..ba1dd89ed 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: "".} = cint + TSa_Family* {.importc: "sa_family_t", header: "".} = cushort SockAddr* {.importc: "struct sockaddr", header: "", pure, final.} = object ## struct sockaddr -- cgit 1.4.1-2-gfad0 lue='switch'/> mirror of ranger - a simple, vim-like file managerakspecs <akspecs@tilde.institute>
about summary refs log tree commit diff stats
blob: 36ad0a95b7d8919128fc4b4e8d8fc366669d2b27 (plain) (blame)
1
2
3
4
5
6
7
8