summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 17:16:49 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-23 17:16:49 +0000
commit4e7a8f306a545ee47bcfa81ad2ea54432fd31283 (patch)
tree6d455b0e524264ff06eb5e620d6845d4dffa4c84 /src
parent235a26c46eb21022ac05b89f2a44b71fa1272d46 (diff)
Warning fix.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2865 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/command_parse.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/command_parse.cpp b/src/command_parse.cpp
index 82f7df279..e6c0f46ce 100644
--- a/src/command_parse.cpp
+++ b/src/command_parse.cpp
@@ -168,7 +168,7 @@ int CommandParser::LoopCall(command_t* fn, char **parameters, int pcnt, userrec
plist[i] = '\0';
strlcpy(blog[j++],param,MAXBUF);
param = plist+i+1;
- if (j > Config->MaxTargets)
+ if ((unsigned int)j > Config->MaxTargets)
{
WriteServ(u->fd,"407 %s %s :Too many targets in list, message not delivered.",u->nick,blog[j-1]);
return 1;