summaryrefslogtreecommitdiffstats
path: root/include/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'include/libssh')
-rw-r--r--include/libssh/poll.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libssh/poll.h b/include/libssh/poll.h
index b9e6494a..d3a744f3 100644
--- a/include/libssh/poll.h
+++ b/include/libssh/poll.h
@@ -92,7 +92,7 @@ typedef struct ssh_poll_handle_struct *ssh_poll_handle;
* @return 0 on success, < 0 if you removed the poll object from
* it's poll context.
*/
-typedef int (*ssh_poll_callback)(ssh_poll_handle p, int fd, int revents,
+typedef int (*ssh_poll_callback)(ssh_poll_handle p, socket_t fd, int revents,
void *userdata);