From 60c778ad7fa198ad0bf6f5a718a69623134c825c Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Sat, 4 Jul 2009 14:16:13 +0200 Subject: fix int -> socket_t in SSH_POLL --- libssh/poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libssh') 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; } -- cgit