mirror of
https://github.com/curl/curl.git
synced 2026-05-15 17:46:20 +03:00
ssh: fix compiler warning converting ssize_t to int
This commit is contained in:
parent
e591165f94
commit
6da4085e48
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue