diff options
-rw-r--r-- | src/game-server/accountconnection.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/game-server/accountconnection.cpp b/src/game-server/accountconnection.cpp index 5f0e55ae..927b5c15 100644 --- a/src/game-server/accountconnection.cpp +++ b/src/game-server/accountconnection.cpp @@ -36,8 +36,11 @@ #include "utils/tokendispenser.h" #include "utils/tokencollector.h" -const int SYNC_BUFFER_SIZE = 1024; /**< maximum size of sync buffer in bytes. */ -const int SYNC_BUFFER_LIMIT = 20; /**< maximum number of messages in sync buffer. */ +/** Maximum size of sync buffer in bytes. */ +const unsigned SYNC_BUFFER_SIZE = 1024; + +/** Maximum number of messages in sync buffer. */ +const int SYNC_BUFFER_LIMIT = 20; AccountConnection::AccountConnection(): mSyncBuffer(0), |