1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-07-29 13:01:13 +03:00

scp: Fixed a build warning on Windows.

This commit is contained in:
Andreas Schneider
2011-01-02 19:31:13 +01:00
parent 73c0cd050e
commit be3e5c35cf

View File

@ -514,7 +514,7 @@ int ssh_scp_pull_request(ssh_scp scp){
if(p==NULL) if(p==NULL)
goto error; goto error;
*p=0; *p=0;
size=strtoull(tmp,NULL,10); size = (size_t) strtoull(tmp,NULL,10);
p++; p++;
name=strdup(p); name=strdup(p);
SAFE_FREE(scp->request_name); SAFE_FREE(scp->request_name);