Fix compiler warnings on Windows.
This commit is contained in:
parent
1bb969c930
commit
3847b78ba5
8 changed files with 23 additions and 17 deletions
|
|
@ -377,7 +377,7 @@ static void handle_meta_io(void *data, int flags) {
|
|||
|
||||
int result;
|
||||
socklen_t len = sizeof result;
|
||||
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