diff options
author | madmaxoft <github@xoft.cz> | 2014-01-07 14:24:25 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-01-07 14:24:25 +0100 |
commit | 934b90c121def4f6f9a7c919727cadeeca49981f (patch) | |
tree | 8ca75ec9f6f0bb3a937657e863375ac8920fc66e /src/Protocol | |
parent | Added Base64Encode(). (diff) | |
download | cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.gz cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.bz2 cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.lz cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.xz cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.tar.zst cuberite-934b90c121def4f6f9a7c919727cadeeca49981f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Protocol/Protocol132.h | 4 | ||||
-rw-r--r-- | src/Protocol/Protocol17x.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/Protocol/Protocol132.h b/src/Protocol/Protocol132.h index d36384a88..80fc8740a 100644 --- a/src/Protocol/Protocol132.h +++ b/src/Protocol/Protocol132.h @@ -14,9 +14,9 @@ #ifdef _MSC_VER #pragma warning(push) #pragma warning(disable:4127) - #pragma warning(disable:4244) - #pragma warning(disable:4231) #pragma warning(disable:4189) + #pragma warning(disable:4231) + #pragma warning(disable:4244) #pragma warning(disable:4702) #endif diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 8536689c3..7d1f723a3 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -983,7 +983,7 @@ void cProtocol172::AddReceivedData(const char * a_Data, int a_Size) } // Handle all complete packets: - while (true) + for (;;) { UInt32 PacketLen; if (!m_ReceivedData.ReadVarInt(PacketLen)) |