aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cynapses.org>2011-01-02 19:31:13 +0100
committerAndreas Schneider <asn@cynapses.org>2011-01-02 19:35:54 +0100
commitbe3e5c35cf40d58955147b7cdc27927352bb3e02 (patch)
tree9c2a10e324f63f31c064d13e98c9c2cbb3bb065d /src
parent73c0cd050e59f7a2663b729b6824de3a559299b6 (diff)
downloadlibssh-be3e5c35cf40d58955147b7cdc27927352bb3e02.tar.gz
libssh-be3e5c35cf40d58955147b7cdc27927352bb3e02.tar.xz
libssh-be3e5c35cf40d58955147b7cdc27927352bb3e02.zip
scp: Fixed a build warning on Windows.
Diffstat (limited to 'src')
-rw-r--r--src/scp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scp.c b/src/scp.c
index 4a6f6f14..b69f98e7 100644
--- a/src/scp.c
+++ b/src/scp.c
@@ -514,7 +514,7 @@ int ssh_scp_pull_request(ssh_scp scp){
if(p==NULL)
goto error;
*p=0;
- size=strtoull(tmp,NULL,10);
+ size = (size_t) strtoull(tmp,NULL,10);
p++;
name=strdup(p);
SAFE_FREE(scp->request_name);