diff options
author | Daniel Stenberg <daniel@haxx.se> | 2014-03-06 13:25:59 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2014-03-06 13:25:59 +0000 |
commit | 6da4085e48b90670d12464f08113bc2f58779035 (patch) | |
tree | 484214fc93d6a188d4247aa3d71b3bd356677c05 /lib | |
parent | e591165f94c2c58706d827c5a153828cc1b2dc03 (diff) |
ssh: fix compiler warning converting ssize_t to int
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh.c | 2 |
1 files changed, 1 insertions, 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; } |