commit | 097fc8517e6b2d0d4c8d21c3bd26d6cebdae16cd | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 09 08:18:17 2021 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Mar 09 08:18:17 2021 +0100 |
tree | a00f3ce569ba7967daa9d4ed18de4702387f40c0 | |
parent | 8ce3b7c7cb6db418080d697c9d6f186d8b446194 [diff] [blame] |
client session MAINTENANCE remove useless cast
diff --git a/src/session_client_ssh.c b/src/session_client_ssh.c index 3f65d4c..89ef3b5 100644 --- a/src/session_client_ssh.c +++ b/src/session_client_ssh.c
@@ -1558,7 +1558,7 @@ session->ti.libssh.session = ssh_session; /* was port set? */ - ssh_options_get_port(ssh_session, (unsigned int *)&port); + ssh_options_get_port(ssh_session, &port); if (ssh_options_get(ssh_session, SSH_OPTIONS_HOST, &host) != SSH_OK) { /*