mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
ssh.c: fix compiler warning
This commit is contained in:
parent
d4bf87dc0e
commit
d016f5f5f5
@ -668,7 +668,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
|
||||
/* fall-through */
|
||||
|
||||
case SSH_S_STARTUP:
|
||||
rc = libssh2_session_startup(sshc->ssh_session, sock);
|
||||
rc = libssh2_session_startup(sshc->ssh_session, (int)sock);
|
||||
if(rc == LIBSSH2_ERROR_EAGAIN) {
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user