Pedantic safety

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8350 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
brain 2007-10-24 18:05:44 +00:00
parent 2ab88037d8
commit 58e4aa3a8c
2 changed files with 2 additions and 2 deletions

View File

@ -596,7 +596,7 @@ class CoreExport User : public connection
/** Flood counters - lines received
*/
int lines_in;
unsigned int lines_in;
/** Flood counters - time lines_in is due to be reset
*/

View File

@ -219,7 +219,7 @@ CmdResult CommandParser::CallHandler(const std::string &commandname,const char**
void CommandParser::DoLines(User* current, bool one_only)
{
// while there are complete lines to process...
int floodlines = 0;
unsigned int floodlines = 0;
while (current->BufferIsReady())
{