Fix type mismatch warnings

Signed-off-by: Norbert Pocs <npocs@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
This commit is contained in:
Norbert Pocs
2022-05-26 17:59:35 +02:00
committed by Andreas Schneider
parent eb9dc8cfc4
commit 442599f0d1
32 changed files with 160 additions and 152 deletions

View File

@@ -694,13 +694,13 @@ int ssh_handle_packets(ssh_session session, int timeout) {
* SSH_ERROR otherwise.
*/
int ssh_handle_packets_termination(ssh_session session,
long timeout,
int timeout,
ssh_termination_function fct,
void *user)
{
struct ssh_timestamp ts;
long timeout_ms = SSH_TIMEOUT_INFINITE;
long tm;
int timeout_ms = SSH_TIMEOUT_INFINITE;
int tm;
int ret = SSH_OK;
/* If a timeout has been provided, use it */