mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +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>
(cherry picked from commit 839fab6df4)
This commit is contained in:
@@ -1899,7 +1899,7 @@ ssize_t sftp_read(sftp_file handle, void *buf, size_t count) {
|
||||
ssh_string datastring;
|
||||
size_t datalen;
|
||||
ssh_buffer buffer;
|
||||
int id;
|
||||
uint32_t id;
|
||||
int rc;
|
||||
|
||||
if (handle->eof) {
|
||||
|
||||
Reference in New Issue
Block a user