From: Azat Khuzhin Date: Sun, 24 Feb 2019 14:34:20 +0000 (+0300) Subject: Match definition with prototype for bufferevent_socket_set_conn_address_fd_() X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5722e13b871063f13912a6ccafe4c94e1b3b41c5;p=libevent Match definition with prototype for bufferevent_socket_set_conn_address_fd_() Fixes: #772 Fixes: b29207dc ("Eliminate fd conversion warnings and introduce EVUTIL_INVALID_SOCKET (windows)") --- diff --git a/bufferevent-internal.h b/bufferevent-internal.h index c3f6b60b..87ab9ad9 100644 --- a/bufferevent-internal.h +++ b/bufferevent-internal.h @@ -446,7 +446,7 @@ bufferevent_socket_get_conn_address_(struct bufferevent *bev); EVENT2_EXPORT_SYMBOL void -bufferevent_socket_set_conn_address_fd_(struct bufferevent *bev, int fd); +bufferevent_socket_set_conn_address_fd_(struct bufferevent *bev, evutil_socket_t fd); EVENT2_EXPORT_SYMBOL void