From 378e233023353b7a9abe97bd0ba3cc07896addbe Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 5 Dec 2010 22:43:56 +0000 Subject: (svn r21417) -Fix: ofcourse MSVC x64 has something to complain about --- src/network/network_udp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index ed7cd3581..0711ecbcd 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.cpp @@ -159,7 +159,7 @@ DEF_UDP_RECEIVE_COMMAND(Server, PACKET_UDP_CLIENT_DETAIL_INFO) SetDParam(0, company->index); GetString(company_name, STR_COMPANY_NAME, company_name + max_cname_length - 1); free -= MIN_CI_SIZE; - free -= strlen(company_name); + free -= (int)strlen(company_name); } if (free >= 0) break; -- cgit v1.2.3-70-g09d2