diff options
-rw-r--r-- | include/users.h | 2 | ||||
-rw-r--r-- | src/command_parse.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/users.h b/include/users.h index 1f3e4a5aa..43145ab2f 100644 --- a/include/users.h +++ b/include/users.h @@ -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 */ diff --git a/src/command_parse.cpp b/src/command_parse.cpp index 0c3f29a25..d63e3938f 100644 --- a/src/command_parse.cpp +++ b/src/command_parse.cpp @@ -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()) { |