summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
committertruelight <truelight@openttd.org>2006-08-20 12:09:32 +0000
commit5fb6c9e1cc073ad96d62efc423e87d79d38d435a (patch)
tree8ea819b5d596c612f5f825b3e4881663c4af5722 /win32.c
parentb83703b215bec2b7a6147a6b4a7ec60832da5230 (diff)
downloadopenttd-5fb6c9e1cc073ad96d62efc423e87d79d38d435a.tar.xz
(svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32.c b/win32.c
index 099cc8f98..48c50027c 100644
--- a/win32.c
+++ b/win32.c
@@ -265,7 +265,7 @@ static const char *SubmitCrashReport(HWND wnd, void *msg, size_t msglen, const c
http = _wininet.HttpOpenRequest(conn, "POST", buff, NULL, NULL, NULL, INTERNET_FLAG_NO_CACHE_WRITE , 0);
if (http == NULL) { err = "httpopenrequest failed"; goto error3; }
- if (!_wininet.HttpSendRequest(http, "Content-type: application/binary", -1, msg, msglen)) { err = "httpsendrequest failed"; goto error4; }
+ if (!_wininet.HttpSendRequest(http, "Content-type: application/binary", -1, msg, (DWORD)msglen)) { err = "httpsendrequest failed"; goto error4; }
len = sizeof(code);
if (!_wininet.HttpQueryInfo(http, HTTP_QUERY_STATUS_CODE | HTTP_QUERY_FLAG_NUMBER, &code, &len, 0)) { err = "httpqueryinfo failed"; goto error4; }