aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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;
}