summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/network_udp.cpp2
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;