1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

ssh: fix compiler warning converting ssize_t to int

This commit is contained in:
Daniel Stenberg 2014-03-06 13:25:59 +00:00
parent e591165f94
commit 6da4085e48

View File

@ -3134,7 +3134,7 @@ static ssize_t sftp_recv(struct connectdata *conn, int sockindex,
}
else if(nread < 0) {
*err = libssh2_session_error_to_CURLE(nread);
*err = libssh2_session_error_to_CURLE((int)nread);
}
return nread;
}