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:
Andreas Schneider
2019-10-31 15:55:33 +01:00
parent e9b74b5cb7
commit 0a404349bc

View File

@@ -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) {