]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-info.c
put parentheses around argument
[ngircd-alex.git] / src / ngircd / irc-info.c
index 396d62e9df7f6dcbd3b539b6e76fcaed67a74e72..f24065a7c1a51acc266af3975fcc01704a976e22 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "portab.h"
 
-static char UNUSED id[] = "$Id: irc-info.c,v 1.35 2006/10/01 19:13:32 alex Exp $";
+static char UNUSED id[] = "$Id: irc-info.c,v 1.37 2006/10/07 10:40:52 fw Exp $";
 
 #include "imp.h"
 #include <assert.h>
@@ -542,7 +542,8 @@ GLOBAL bool
 IRC_WHO( CLIENT *Client, REQUEST *Req )
 {
        bool ok, only_ops;
-       char flags[8], *ptr;
+       char flags[8];
+       const char *ptr;
        CL2CHAN *cl2chan;
        CHANNEL *chan, *cn;
        CLIENT *c;
@@ -832,9 +833,9 @@ IRC_WHOWAS( CLIENT *Client, REQUEST *Req )
 GLOBAL bool
 IRC_Send_LUSERS( CLIENT *Client )
 {
-       long cnt;
+       unsigned long cnt;
 #ifndef STRICT_RFC
-       long max;
+       unsigned long max;
 #endif
 
        assert( Client != NULL );