diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-10 09:29:13 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2015-01-10 09:29:13 +0100 |
commit | 2021e63cd60a73e67da10c90e4ec69d277b23545 (patch) | |
tree | 6163396be8d17e66da498b7569f2e7dfa50c4361 /src | |
parent | 91b108e570e2dc2c4c7fc90035e0017ecc5dae50 (diff) | |
download | weechat-2021e63cd60a73e67da10c90e4ec69d277b23545.zip |
irc: fix warning on cast of a pointer
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/irc/irc-server.c | 4 |
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) |