From 377a7a968b6a906f262a45abea9a563ffc471938 Mon Sep 17 00:00:00 2001 From: Naram Qashat Date: Mon, 24 Oct 2011 16:32:29 -0400 Subject: Fixed bug #1349 (m_sqlite compiles without error under FreeBSD), as well as use C99's stdint.h (or cstdint if available) to get (u)intX_t types instead of our stupid typedefs. pstdint.h included in case there is no cstdint or stdint.h available. --- include/channels.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/channels.h') diff --git a/include/channels.h b/include/channels.h index 81096cbe3..a4e27469c 100644 --- a/include/channels.h +++ b/include/channels.h @@ -43,7 +43,7 @@ class CoreExport Channel : public Extensible, public Flags /** A map of channel modes with their parameters set on this channel */ ModeList modes; - + public: /** Default constructor * @param name The channel name @@ -68,9 +68,9 @@ class CoreExport Channel : public Extensible, public Flags time_t server_modetime; /* Time of last server MODE */ time_t chanserv_modetime; /* Time of last check_modes() */ - int16 server_modecount; /* Number of server MODEs this second */ - int16 chanserv_modecount; /* Number of check_mode()'s this sec */ - int16 bouncy_modes; /* Did we fail to set modes here? */ + int16_t server_modecount; /* Number of server MODEs this second */ + int16_t chanserv_modecount; /* Number of check_mode()'s this sec */ + int16_t bouncy_modes; /* Did we fail to set modes here? */ /** Call if we need to unset all modes and clear all user status (internally). * Only useful if we get a SJOIN with a TS older than what we have here -- cgit