sftpserver: Fix integer type in sftp_reply_data()

Fixes T188

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
(cherry picked from commit b18acbdc7e)
This commit is contained in:
Andreas Schneider
2019-10-31 16:01:52 +01:00
parent 0cb50ef31a
commit 66419896f7

View File

@@ -483,7 +483,7 @@ int sftp_reply_data(sftp_client_message msg, const void *data, int len) {
ssh_string sftp_handle_alloc(sftp_session sftp, void *info) {
ssh_string ret;
uint32_t val;
int i;
uint32_t i;
if (sftp->handles == NULL) {
sftp->handles = calloc(SFTP_HANDLES, sizeof(void *));