summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2016-05-22 10:45:46 +0000
committerfrosch <frosch@openttd.org>2016-05-22 10:45:46 +0000
commit4fc43b510d128b9d9f05f7c43222c0153f33ae12 (patch)
treeffc5b42c221502cf1252f2bc1ded0dcc3f2810ed
parent914d4616caf8a407086af95be615bde4d393c0c0 (diff)
downloadopenttd-4fc43b510d128b9d9f05f7c43222c0153f33ae12.tar.xz
(svn r27576) -Fix (r27570): Compilation failure with all compilers but mine.
-rw-r--r--src/network/network_content.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network_content.cpp b/src/network/network_content.cpp
index 1a186826a..e998aaeaf 100644
--- a/src/network/network_content.cpp
+++ b/src/network/network_content.cpp
@@ -250,7 +250,7 @@ void ClientNetworkContentSocketHandler::RequestContentList(ContentVector *cv, bo
assert(cv->Length() < 255);
assert(cv->Length() < (SEND_MTU - sizeof(PacketSize) - sizeof(byte) - sizeof(uint8)) /
- (sizeof(uint8) + sizeof(uint32) + (send_md5sum ? sizeof(ContentInfo::md5sum) : 0)));
+ (sizeof(uint8) + sizeof(uint32) + (send_md5sum ? /*sizeof(ContentInfo::md5sum)*/16 : 0)));
Packet *p = new Packet(send_md5sum ? PACKET_CONTENT_CLIENT_INFO_EXTID_MD5 : PACKET_CONTENT_CLIENT_INFO_EXTID);
p->Send_uint8(cv->Length());