summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-irc-commands.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-10 23:00:56 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-10 23:00:56 +0000
commitdcc2e89b2e0a99645b4f49360c3b76958730563e (patch)
tree824e1fb77f05e94a3b4cb48e051728eb9bd519a3 /src/fe-common/irc/fe-irc-commands.c
parentf8aa81b73c83b97aff8cf24244e0bb183a35d59c (diff)
downloadirssi-dcc2e89b2e0a99645b4f49360c3b76958730563e.zip
Enabled lots of GCC warnings, fixed those that were easy to fix.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@456 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common/irc/fe-irc-commands.c')
-rw-r--r--src/fe-common/irc/fe-irc-commands.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-irc-commands.c b/src/fe-common/irc/fe-irc-commands.c
index 1852954b..19243c0d 100644
--- a/src/fe-common/irc/fe-irc-commands.c
+++ b/src/fe-common/irc/fe-irc-commands.c
@@ -95,7 +95,8 @@ static void cmd_msg(gchar *data, IRC_SERVER_REC *server, WI_ITEM_REC *item)
WINDOW_REC *window;
CHANNEL_REC *channel;
NICK_REC *nickrec;
- char *target, *msg, *nickmode, *freestr, *newtarget;
+ const char *nickmode;
+ char *target, *msg, *freestr, *newtarget;
void *free_arg;
int free_ret;