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
This commit is contained in:
Timo Sirainen 2000-11-23 21:40:07 +00:00 committed by cras
commit 8ce36c05ea
30 changed files with 80 additions and 72 deletions

View file

@ -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)