From 04c8b28ae7f47670cd20950b670a65c8c38ac11f Mon Sep 17 00:00:00 2001 From: cyberbotx Date: Thu, 20 Nov 2008 03:35:16 +0000 Subject: Removed some signed/unsigned comparison warnings. git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1766 5417fbe8-f217-4b02-8779-1006273d7864 --- include/services.h | 2 +- include/users.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/services.h b/include/services.h index 339efa151..f8e8334bf 100644 --- a/include/services.h +++ b/include/services.h @@ -915,7 +915,7 @@ struct channel_ { EList *invites; struct c_userlist *users; - int16 usercount; + uint16 usercount; BanData *bd; diff --git a/include/users.h b/include/users.h index c8fc7e343..315a6c508 100644 --- a/include/users.h +++ b/include/users.h @@ -49,7 +49,7 @@ class User : public Extensible struct u_chanlist *chans; /* Channels user has joined */ struct u_chaninfolist *founder_chans; /* Channels user has identified for */ - short invalid_pw_count; /* # of invalid password attempts */ + unsigned short invalid_pw_count; /* # of invalid password attempts */ time_t invalid_pw_time; /* Time of last invalid password */ time_t lastmemosend; /* Last time MS SEND command used */ -- cgit