Skip to content

Commit 1f5debf

Browse files
kolapapakolapapa
authored andcommitted
restore the type of the parameter flags of getnameinfo to c_int
1 parent 71daf0c commit 1f5debf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/uclibc/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2326,7 +2326,7 @@ extern "C" {
23262326
hostlen: ::socklen_t,
23272327
serv: *mut ::c_char,
23282328
sevlen: ::socklen_t,
2329-
flags: ::c_uint,
2329+
flags: ::c_int,
23302330
) -> ::c_int;
23312331
}
23322332

0 commit comments

Comments
 (0)