diff options
author | rubidium <rubidium@openttd.org> | 2010-12-05 22:43:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-05 22:43:56 +0000 |
commit | 378e233023353b7a9abe97bd0ba3cc07896addbe (patch) | |
tree | 82c5410f241cf66321941f886c75346217492bb2 /src | |
parent | ea6803971879f9c35fd2695d3817b54b87fb6269 (diff) | |
download | openttd-378e233023353b7a9abe97bd0ba3cc07896addbe.tar.xz |
(svn r21417) -Fix: ofcourse MSVC x64 has something to complain about
Diffstat (limited to 'src')
-rw-r--r-- | src/network/network_udp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |