mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-07-31 00:03:07 +03:00
scp: Cast return value from uint64_t to size_t.
This commit is contained in:
@ -751,7 +751,7 @@ int ssh_scp_request_get_permissions(ssh_scp scp){
|
|||||||
size_t ssh_scp_request_get_size(ssh_scp scp){
|
size_t ssh_scp_request_get_size(ssh_scp scp){
|
||||||
if(scp==NULL)
|
if(scp==NULL)
|
||||||
return 0;
|
return 0;
|
||||||
return scp->filelen;
|
return (size_t)scp->filelen;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @brief Get the size of the file being pushed from the other party.
|
/** @brief Get the size of the file being pushed from the other party.
|
||||||
|
Reference in New Issue
Block a user