diff options
Diffstat (limited to 'src/net/messageout.cpp')
-rw-r--r-- | src/net/messageout.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index 5663e1df..814d7094 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -22,18 +22,17 @@ #include "net/messageout.h" #include <cstring> -#include <string> namespace Net { -MessageOut::MessageOut(short id): +MessageOut::MessageOut(uint16_t id): mData(0), mDataSize(0), mPos(0) { } -void MessageOut::writeInt8(Uint8 value) +void MessageOut::writeInt8(uint8_t value) { expand(1); mData[mPos] = value; |