aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2014-03-06 13:25:59 +0000
committerDaniel Stenberg <daniel@haxx.se>2014-03-06 13:25:59 +0000
commit6da4085e48b90670d12464f08113bc2f58779035 (patch)
tree484214fc93d6a188d4247aa3d71b3bd356677c05 /lib
parente591165f94c2c58706d827c5a153828cc1b2dc03 (diff)
ssh: fix compiler warning converting ssize_t to int
Diffstat (limited to 'lib')
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index 56209af8a..ac4409401 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -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;
}