From 8ce36c05eab6c1787c4e62052fb8d2ba6369cbe8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 23 Nov 2000 21:40:07 +0000 Subject: several fixes to make irssi compile without warnings with MIPSpro also fixed ctcp_queue_clean() - it might have crashed sometimes.. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@859 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-nicklist.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/irc/core/irc-nicklist.c') diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index a107d15a..9b8de036 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -343,8 +343,10 @@ static const char *get_nick_flags(void) static void sig_connected(IRC_SERVER_REC *server) { - if (IS_IRC_SERVER(server)) - server->get_nick_flags = (void *) get_nick_flags; + if (IS_IRC_SERVER(server)) { + server->get_nick_flags = + (const char *(*)(void)) get_nick_flags; + } } void irc_nicklist_init(void) -- cgit v1.2.3