From 7d13a2a77a030a4f458ac01a51f8a4216a4a44b4 Mon Sep 17 00:00:00 2001 From: Mattes D Date: Sat, 3 Jan 2015 22:39:55 +0100 Subject: Fixed Linux compilation. --- src/Protocol/Protocol17x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Protocol/Protocol17x.cpp') diff --git a/src/Protocol/Protocol17x.cpp b/src/Protocol/Protocol17x.cpp index 4e985355a..dac1ebde8 100644 --- a/src/Protocol/Protocol17x.cpp +++ b/src/Protocol/Protocol17x.cpp @@ -2272,7 +2272,7 @@ void cProtocol172::HandleVanillaPluginMessage(cByteBuffer & a_ByteBuffer, const if (BytesRead < static_cast(a_PayloadLength)) { LOGD("Protocol 1.7: Skipping garbage data at the end of a vanilla MC|AdvCdm packet, %u bytes", - a_PayloadLength - BytesRead + static_cast(a_PayloadLength - BytesRead) ); a_ByteBuffer.SkipRead(a_PayloadLength - BytesRead); } -- cgit v1.2.3