diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 12:23:01 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2013-07-22 13:01:36 +0200 |
commit | 229ef082c1b21fc9063010d907982be981d1970d (patch) | |
tree | acd4f087f097a550b7bcf83e9451f4f4078c9559 /src | |
parent | da1eaea51a83552f129425bd7b6e4c98aedd9564 (diff) | |
download | libssh-229ef082c1b21fc9063010d907982be981d1970d.tar.gz libssh-229ef082c1b21fc9063010d907982be981d1970d.tar.xz libssh-229ef082c1b21fc9063010d907982be981d1970d.zip |
scp: Cast return value from uint64_t to size_t.
Diffstat (limited to 'src')
-rw-r--r-- | src/scp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |