- stats.c, stats.h: made StatsHash::type 'const unsigned'
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 25 Jun 2015 14:17:30 +0000 (14:17 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Thu, 25 Jun 2015 14:17:30 +0000 (14:17 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@6196 82007160-df01-0410-b94d-b575c5fd34c7

src/stats.c
src/stats.h

index 1d26aa282aa3a7c6aca4031fa828da9a187e6d8e..665add5f744a665555b5fecf0d276943d82722fe 100644 (file)
@@ -78,7 +78,7 @@ stats_init(void)
  *
  */
 void
-stats_openproxy(int type)
+stats_openproxy(unsigned int type)
 {
   for (struct StatsHash *tab = STATS_PROXIES; tab->name; ++tab)
   {
index c5eedab5ea8ba6c99eb140b2621ca0ba7c835ab3..337a9112236b614a5f4bd4a96d9c2fc5e680752f 100644 (file)
 
 struct StatsHash
 {
-  int type;
+  const unsigned int type;
   unsigned int count;
   const char *name;
 };
 
 extern void stats_init(void);
-extern void stats_openproxy(int);
+extern void stats_openproxy(unsigned int);
 extern void stats_connect(void);
 extern void stats_dnsblrecv(struct BlacklistConf *);
 extern void stats_dnsblsend(void);