compiler warning fixes + one real bug in dcc-chat

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@850 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-11-18 15:31:28 +00:00 committed by cras
commit 14e5dc8b8e
5 changed files with 7 additions and 7 deletions

View file

@ -361,7 +361,7 @@ static GList *completion_get_subcommands(const char *cmd)
for (tmp = commands; tmp != NULL; tmp = tmp->next) {
COMMAND_REC *rec = tmp->data;
if (strlen(rec->cmd) < len)
if ((int)strlen(rec->cmd) < len)
continue;
if (strchr(rec->cmd+len, ' ') != NULL)