summaryrefslogtreecommitdiff
path: root/src/irc/core/channels-query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/channels-query.c')
-rw-r--r--src/irc/core/channels-query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c
index 0152606e..70c2cbc7 100644
--- a/src/irc/core/channels-query.c
+++ b/src/irc/core/channels-query.c
@@ -185,7 +185,7 @@ static void channel_send_query(IRC_SERVER_REC *server, int query)
chans = rec->queries[query];
- if (g_slist_length(rec->queries[query]) > server->max_query_chans) {
+ if ((int)g_slist_length(rec->queries[query]) > server->max_query_chans) {
GSList *lastchan;
lastchan = g_slist_nth(rec->queries[query], server->max_query_chans-1);