summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/irc/irc-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/irc/irc-server.c b/src/plugins/irc/irc-server.c
index 2f6d8329f..e5ec45266 100644
--- a/src/plugins/irc/irc-server.c
+++ b/src/plugins/irc/irc-server.c
@@ -4422,12 +4422,12 @@ int
irc_server_auto_connect_timer_cb (void *data, int remaining_calls)
{
struct t_irc_server *ptr_server;
- int auto_connect;
+ void *auto_connect;
/* make C compiler happy */
(void) remaining_calls;
- auto_connect = (int)data;
+ auto_connect = data;
for (ptr_server = irc_servers; ptr_server;
ptr_server = ptr_server->next_server)