From 35cfd460655878c9a615abc8ea1cb2f7577a7f3b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 21 Apr 2013 18:57:48 +0300 Subject: some other fixes from cpplint. --- src/net/messageout.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/net/messageout.cpp') diff --git a/src/net/messageout.cpp b/src/net/messageout.cpp index 76e2085ee..cb948cdd5 100644 --- a/src/net/messageout.cpp +++ b/src/net/messageout.cpp @@ -36,7 +36,7 @@ namespace Net { -MessageOut::MessageOut(short id A_UNUSED): +MessageOut::MessageOut(int16_t id A_UNUSED): mData(nullptr), mDataSize(0), mPos(0) @@ -60,7 +60,7 @@ void MessageOut::writeString(const std::string &string, int length) if (length < 0) { // Write the length at the start if not fixed - writeInt16(static_cast(stringLength)); + writeInt16(static_cast(stringLength)); length = stringLength; } else if (length < stringLength) @@ -88,7 +88,7 @@ void MessageOut::writeStringNoLog(const std::string &string, int length) if (length < 0) { // Write the length at the start if not fixed - writeInt16(static_cast(stringLength)); + writeInt16(static_cast(stringLength)); length = stringLength; } else if (length < stringLength) -- cgit v1.2.3-60-g2f50