(svn r18996) -Fix (r18993, r18994): MSVC 64 bits had somethings to complain about

This commit is contained in:
rubidium
2010-02-03 21:45:48 +00:00
parent a61cd5ad85
commit d818c7c7b1
3 changed files with 5 additions and 5 deletions

View File

@@ -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);