From ba5f80a00a07d07ce633e185260b6018720894ef Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 16 Nov 2016 09:01:02 +0800 Subject: [PATCH] lws_socket_bind: use lws_sockfd_type --- lib/libwebsockets.c | 2 +- lib/private-libwebsockets.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index a911cb74..ca534a50 100755 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1557,7 +1557,7 @@ lws_extension_callback_pm_deflate(struct lws_context *context, #endif LWS_EXTERN int -lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port, +lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port, const char *iface) { #if LWS_POSIX diff --git a/lib/private-libwebsockets.h b/lib/private-libwebsockets.h index 9c737989..2338f9b0 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -1307,7 +1307,7 @@ struct lws { LWS_EXTERN int log_level; LWS_EXTERN int -lws_socket_bind(struct lws_vhost *vhost, int sockfd, int port, +lws_socket_bind(struct lws_vhost *vhost, lws_sockfd_type sockfd, int port, const char *iface); LWS_EXTERN void