commit - 76604f847aef63fbf091c03b0b938cf9a89c94d9
commit + 70facb7f6e2681d711a599c79a37a3ea2db62bfa
blob - 9ff4c1b5efe26d6a791ba0fe3b3e328b13171b04
blob + aaf38d1b73e856b368cd4baa02dd9a02cce72020
--- src/ngircd/channel.c
+++ src/ngircd/channel.c
#include "portab.h"
-static char UNUSED id[] = "$Id: channel.c,v 1.50 2005/06/18 08:57:37 fw Exp $";
+static char UNUSED id[] = "$Id: channel.c,v 1.51 2005/07/11 14:11:35 fw Exp $";
#include "imp.h"
#include <assert.h>
CHANNEL *chan;
char *c;
- int i;
+ unsigned int i;
for( i = 0; i < Conf_Channel_Count; i++ )
{
blob - d422b468cc7ae21e2f641e73a1902c02830c2f6b
blob + ca361186d44ae4994c29d70289910b096a42c390
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
#include "portab.h"
-static char UNUSED id[] = "$Id: conf.c,v 1.78 2005/07/07 18:46:46 fw Exp $";
+static char UNUSED id[] = "$Id: conf.c,v 1.79 2005/07/11 14:11:35 fw Exp $";
#include "imp.h"
#include <assert.h>
struct passwd *pwd;
struct group *grp;
- int i;
+ unsigned int i;
Use_Log = false;
Set_Defaults( true );
blob - e4ff606430bdb15c6e04cfbbac6f56064a8f8f33
blob + a97526c61e606e89eee7fdecc3ecd682bfa41eb6
--- src/ngircd/conf.h
+++ src/ngircd/conf.h
* (at your option) any later version.
* Please read the file COPYING, README and AUTHORS for more information.
*
- * $Id: conf.h,v 1.34 2005/03/20 13:54:06 fw Exp $
+ * $Id: conf.h,v 1.35 2005/07/11 14:11:35 fw Exp $
*
* Configuration management (header)
*/
/* Ports the server should listen on */
GLOBAL UINT16 Conf_ListenPorts[MAX_LISTEN_PORTS];
-GLOBAL int Conf_ListenPorts_Count;
+GLOBAL unsigned int Conf_ListenPorts_Count;
/* Address to which the socket should be bound or empty (=all) */
GLOBAL char Conf_ListenAddress[16];
/* Operators */
GLOBAL CONF_OPER Conf_Oper[MAX_OPERATORS];
-GLOBAL int Conf_Oper_Count;
+GLOBAL unsigned int Conf_Oper_Count;
/* Servers */
GLOBAL CONF_SERVER Conf_Server[MAX_SERVERS];
/* Pre-defined channels */
GLOBAL CONF_CHANNEL Conf_Channel[MAX_DEFCHANNELS];
-GLOBAL int Conf_Channel_Count;
+GLOBAL unsigned int Conf_Channel_Count;
/* Are IRC operators allowed to always use MODE? */
GLOBAL bool Conf_OperCanMode;
blob - 4ff38ceec5e2e5b37d5442922e79ffcfeb1afbed
blob + 5e49f3513348e9e5595084daef26b41ce4ae2098
--- src/ngircd/conn.c
+++ src/ngircd/conn.c
#include "portab.h"
#include "io.h"
-static char UNUSED id[] = "$Id: conn.c,v 1.159 2005/07/09 21:35:20 fw Exp $";
+static char UNUSED id[] = "$Id: conn.c,v 1.160 2005/07/11 14:11:35 fw Exp $";
#include "imp.h"
#include <assert.h>
{
/* Initialize ports on which the server should accept connections */
- int created, i;
+ int created;
+ unsigned int i;
if (!io_library_init(CONNECTION_POOL)) {
Log(LOG_EMERG, "Cannot initialize IO routines: %s", strerror(errno));
blob - 8f94cb1f3de3b6480f45aef8812a716900f8b17e
blob + 3e497a4afd64d1e5f476bd48beda17e0fc51fea4
--- src/ngircd/irc-oper.c
+++ src/ngircd/irc-oper.c
#include "portab.h"
-static char UNUSED id[] = "$Id: irc-oper.c,v 1.22 2005/06/12 18:02:09 fw Exp $";
+static char UNUSED id[] = "$Id: irc-oper.c,v 1.23 2005/07/11 14:11:35 fw Exp $";
#include "imp.h"
#include <assert.h>
GLOBAL bool
IRC_OPER( CLIENT *Client, REQUEST *Req )
{
- int i;
+ unsigned int i;
assert( Client != NULL );
assert( Req != NULL );