From 9cc7ea504c53c5cfe9500c4b674bd7f748981697 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20F=C3=A6r=C3=B8y?= Date: Mon, 21 Nov 2011 21:28:28 +0000 Subject: Fix warning. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@5210 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/irc/core/irc-nicklist.c | 2 +- src/irc/core/irc-nicklist.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irc/core') diff --git a/src/irc/core/irc-nicklist.c b/src/irc/core/irc-nicklist.c index 8a9ab1ec..8a75233c 100644 --- a/src/irc/core/irc-nicklist.c +++ b/src/irc/core/irc-nicklist.c @@ -32,7 +32,7 @@ /* Add new nick to list */ NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick, int op, int halfop, int voice, int send_massjoin, - char *prefixes) + const char *prefixes) { NICK_REC *rec; diff --git a/src/irc/core/irc-nicklist.h b/src/irc/core/irc-nicklist.h index b360d542..7302556b 100644 --- a/src/irc/core/irc-nicklist.h +++ b/src/irc/core/irc-nicklist.h @@ -6,7 +6,7 @@ /* Add new nick to list */ NICK_REC *irc_nicklist_insert(IRC_CHANNEL_REC *channel, const char *nick, int op, int halfop, int voice, int send_massjoin, - char *prefixes); + const char *prefixes); /* Remove all "extra" characters from `nick'. Like _nick_ -> nick */ char *irc_nick_strip(const char *nick); -- cgit v1.2.3