mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
sftp: Fix integer types in sftp_read()
Fixes T188 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
@@ -1899,7 +1899,7 @@ ssize_t sftp_read(sftp_file handle, void *buf, size_t count) {
|
|||||||
ssh_string datastring;
|
ssh_string datastring;
|
||||||
size_t datalen;
|
size_t datalen;
|
||||||
ssh_buffer buffer;
|
ssh_buffer buffer;
|
||||||
int id;
|
uint32_t id;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (handle->eof) {
|
if (handle->eof) {
|
||||||
|
|||||||
Reference in New Issue
Block a user