summaryrefslogtreecommitdiff
path: root/src/network/core
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-03 21:45:48 +0000
committerrubidium <rubidium@openttd.org>2010-02-03 21:45:48 +0000
commitd818c7c7b1a1c603b108ad59ed5b97d499be6acd (patch)
treec90cfa2848add863d59e3cdfdc95df294c740957 /src/network/core
parenta61cd5ad85b7d597b6193b9385ea938cd0a5be1a (diff)
downloadopenttd-d818c7c7b1a1c603b108ad59ed5b97d499be6acd.tar.xz
(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about
Diffstat (limited to 'src/network/core')
-rw-r--r--src/network/core/tcp_http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/core/tcp_http.cpp b/src/network/core/tcp_http.cpp
index 32c04535b..afba28fce 100644
--- a/src/network/core/tcp_http.cpp
+++ b/src/network/core/tcp_http.cpp
@@ -35,7 +35,7 @@ NetworkHTTPSocketHandler::NetworkHTTPSocketHandler(SOCKET s,
redirect_depth(depth),
sock(s)
{
- int bufferSize = strlen(url) + strlen(host) + strlen(_openttd_revision) + (data == NULL ? 0 : strlen(data)) + 128;
+ size_t bufferSize = strlen(url) + strlen(host) + strlen(_openttd_revision) + (data == NULL ? 0 : strlen(data)) + 128;
char *buffer = AllocaM(char, bufferSize);
DEBUG(net, 7, "[tcp/http] requesting %s%s", host, url);