From: <sil...@us...> - 2011-01-18 14:21:23
|
Revision: 2270 http://znc.svn.sourceforge.net/znc/?rev=2270&view=rev Author: silverleo Date: 2011-01-18 14:21:17 +0000 (Tue, 18 Jan 2011) Log Message: ----------- Fix a compile warning on 32bit systems. Modified Paths: -------------- trunk/IRCSock.cpp trunk/IRCSock.h Modified: trunk/IRCSock.cpp =================================================================== --- trunk/IRCSock.cpp 2011-01-15 21:04:25 UTC (rev 2269) +++ trunk/IRCSock.cpp 2011-01-18 14:21:17 UTC (rev 2270) @@ -14,7 +14,7 @@ #include "znc.h" // These are used in OnGeneralCTCP() -const unsigned int CIRCSock::m_uCTCPFloodTime = 5; +const time_t CIRCSock::m_uCTCPFloodTime = 5; const unsigned int CIRCSock::m_uCTCPFloodCount = 5; CIRCSock::CIRCSock(CUser* pUser) : CZNCSock() { Modified: trunk/IRCSock.h =================================================================== --- trunk/IRCSock.h 2011-01-15 21:04:25 UTC (rev 2269) +++ trunk/IRCSock.h 2011-01-18 14:21:17 UTC (rev 2270) @@ -119,7 +119,7 @@ SCString m_ssPendingCaps; time_t m_lastCTCP; unsigned int m_uNumCTCP; - static const unsigned int m_uCTCPFloodTime; + static const time_t m_uCTCPFloodTime; static const unsigned int m_uCTCPFloodCount; }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |