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:
Andreas Schneider
2019-10-31 15:55:33 +01:00
parent 6b105624bf
commit 839fab6df4

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