ssh.c: fix compiler warning

This commit is contained in:
Yang Tse 2012-01-13 12:57:09 +01:00
parent d4bf87dc0e
commit d016f5f5f5
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}