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

scp: Cast return value from uint64_t to size_t.

This commit is contained in:
Andreas Schneider
2013-07-22 12:23:01 +02:00
parent da1eaea51a
commit 229ef082c1

View File

@ -751,7 +751,7 @@ int ssh_scp_request_get_permissions(ssh_scp scp){
size_t ssh_scp_request_get_size(ssh_scp scp){
if(scp==NULL)
return 0;
return scp->filelen;
return (size_t)scp->filelen;
}
/** @brief Get the size of the file being pushed from the other party.