diff options
author | truelight <truelight@openttd.org> | 2006-08-20 12:09:32 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-20 12:09:32 +0000 |
commit | 5fb6c9e1cc073ad96d62efc423e87d79d38d435a (patch) | |
tree | 8ea819b5d596c612f5f825b3e4881663c4af5722 /win32.c | |
parent | b83703b215bec2b7a6147a6b4a7ec60832da5230 (diff) | |
download | openttd-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |