From 1f5debf70ef601a4f5d5d1cf91023c0af6152838 Mon Sep 17 00:00:00 2001 From: kolapapa Date: Thu, 10 Dec 2020 19:10:39 +0800 Subject: [PATCH] restore the type of the parameter flags of getnameinfo to c_int --- src/unix/uclibc/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/uclibc/mod.rs b/src/unix/uclibc/mod.rs index c72d321bc7842..0de35dbef434c 100644 --- a/src/unix/uclibc/mod.rs +++ b/src/unix/uclibc/mod.rs @@ -2326,7 +2326,7 @@ extern "C" { hostlen: ::socklen_t, serv: *mut ::c_char, sevlen: ::socklen_t, - flags: ::c_uint, + flags: ::c_int, ) -> ::c_int; }