mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
socks5: cast for mingw3 nonposix recv args
This commit is contained in:
parent
439651fa7e
commit
a310e16f8f
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ lws_socks5c_handle_state(struct lws *wsi, struct lws_pollfd *pollfd,
|
|||
return LW5CHS_RET_BAIL3;
|
||||
}
|
||||
|
||||
n = (int)recv(wsi->desc.sockfd, pt->serv_buf,
|
||||
n = (int)recv(wsi->desc.sockfd, (void *)pt->serv_buf,
|
||||
wsi->a.context->pt_serv_buf_size, 0);
|
||||
if (n < 0) {
|
||||
if (LWS_ERRNO == LWS_EAGAIN) {
|
||||
|
|
Loading…
Add table
Reference in a new issue