Fix all warnings when compiling with mingw64.
This commit is contained in:
parent
ef92a5725c
commit
f5122ccece
6 changed files with 22 additions and 15 deletions
|
|
@ -297,7 +297,7 @@ static void check_network_activity(fd_set * readset, fd_set * writeset) {
|
|||
if(FD_ISSET(c->socket, readset)) {
|
||||
if(c->status.connecting) {
|
||||
c->status.connecting = false;
|
||||
getsockopt(c->socket, SOL_SOCKET, SO_ERROR, &result, &len);
|
||||
getsockopt(c->socket, SOL_SOCKET, SO_ERROR, (void *)&result, &len);
|
||||
|
||||
if(!result)
|
||||
finish_connecting(c);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue