mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -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 */
|
/* fall-through */
|
||||||
|
|
||||||
case SSH_S_STARTUP:
|
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) {
|
if(rc == LIBSSH2_ERROR_EAGAIN) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user