From 53bed789501a1ae6e97597799871bb78ee39d358 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Wed, 16 Nov 2016 08:59:47 +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 ac5da5d7..f8c879a3 100755 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -1473,7 +1473,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 67d64b01..14eea9e7 100644 --- a/lib/private-libwebsockets.h +++ b/lib/private-libwebsockets.h @@ -1466,7 +1466,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