aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2009-06-27 06:05:08 +0000
committerDan Fandrich <dan@coneharvesters.com>2009-06-27 06:05:08 +0000
commita9a89c604a6d298624ed8c52fb4acfa16234a828 (patch)
tree75052b8f0d8b1223c2a2b82aafbd4716a9746c01
parente96a9190a3099fe08e64468ecb7bca95121eac25 (diff)
Fixed a compiler warning.
-rw-r--r--lib/ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh.c b/lib/ssh.c
index d6e30ca7f..e4f5057e6 100644
--- a/lib/ssh.c
+++ b/lib/ssh.c
@@ -1877,7 +1877,7 @@ static CURLcode ssh_statemach_act(struct connectdata *conn, bool *block)
sshc->ssh_channel =
libssh2_scp_send_ex(sshc->ssh_session, sftp_scp->path,
data->set.new_file_perms,
- data->set.infilesize, 0, 0);
+ (size_t)data->set.infilesize, 0, 0);
if(!sshc->ssh_channel) {
if(libssh2_session_last_errno(sshc->ssh_session) ==
LIBSSH2_ERROR_EAGAIN) {