summaryrefslogtreecommitdiffstats
path: root/libssh/poll.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/poll.c')
-rw-r--r--libssh/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/poll.c b/libssh/poll.c
index e72e6915..18b53cca 100644
--- a/libssh/poll.c
+++ b/libssh/poll.c
@@ -332,7 +332,7 @@ void ssh_poll_remove_events(SSH_POLL *p, short events) {
* @return Raw socket.
*/
-int ssh_poll_get_fd(SSH_POLL *p) {
+socket_t ssh_poll_get_fd(SSH_POLL *p) {
if (p->ctx != NULL) {
return p->ctx->pollfds[p->idx].fd;
}