diff options
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index d39fd23e..af305a6e 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -28,14 +28,15 @@ #include <limits> #include <sstream> #endif +#include <stdint.h> #include <string> #include <enet/enet.h> /** Initial amount of bytes allocated for the messageout data buffer. */ -const unsigned int INITIAL_DATA_CAPACITY = 16; +const unsigned INITIAL_DATA_CAPACITY = 16; /** Factor by which the messageout data buffer is increased when too small. */ -const unsigned int CAPACITY_GROW_FACTOR = 2; +const unsigned CAPACITY_GROW_FACTOR = 2; static bool debugModeEnabled = false; |