diff options
Diffstat (limited to 'src/irc/irc-server.c')
-rw-r--r-- | src/irc/irc-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/irc-server.c b/src/irc/irc-server.c index 3e2110ac8..10d77c31a 100644 --- a/src/irc/irc-server.c +++ b/src/irc/irc-server.c @@ -974,7 +974,7 @@ server_child_read (t_irc_server *server) if (server->ssl_connected) { gnutls_transport_set_ptr (server->gnutls_sess, - (gnutls_transport_ptr) server->sock); + (gnutls_transport_ptr) ((unsigned long) server->sock)); if (gnutls_handshake (server->gnutls_sess) < 0) { irc_display_prefix (server, server->buffer, PREFIX_ERROR); |