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