diff --git a/src/irc/irc-channel.c b/src/irc/irc-channel.c index 84a7c2fb4..c10295dbd 100644 --- a/src/irc/irc-channel.c +++ b/src/irc/irc-channel.c @@ -424,7 +424,8 @@ channel_remove_dcc (t_irc_dcc *ptr_dcc) int channel_get_notify_level (t_irc_server *server, t_irc_channel *channel) { - char *name, *pos, *pos2, notify; + char *name, *pos, *pos2; + int notify; if ((!server) || (!channel)) return NOTIFY_LEVEL_DEFAULT; diff --git a/weechat/src/irc/irc-channel.c b/weechat/src/irc/irc-channel.c index 84a7c2fb4..c10295dbd 100644 --- a/weechat/src/irc/irc-channel.c +++ b/weechat/src/irc/irc-channel.c @@ -424,7 +424,8 @@ channel_remove_dcc (t_irc_dcc *ptr_dcc) int channel_get_notify_level (t_irc_server *server, t_irc_channel *channel) { - char *name, *pos, *pos2, notify; + char *name, *pos, *pos2; + int notify; if ((!server) || (!channel)) return NOTIFY_LEVEL_DEFAULT;