diff options
author | rubidium <rubidium@openttd.org> | 2008-06-19 09:15:52 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-19 09:15:52 +0000 |
commit | f2730396da8f8c3d84a3003a4623990d939fdf89 (patch) | |
tree | 82a09e7d7db1b95ee13ee3c1a21d2c912a4d3e53 /src/win32.cpp | |
parent | 7a7ff65ac53cab72eddf2838000fbf95f5de9f42 (diff) | |
download | openttd-f2730396da8f8c3d84a3003a4623990d939fdf89.tar.xz |
(svn r13572) -Fix: MSVC x64 complains.
Diffstat (limited to 'src/win32.cpp')
-rw-r--r-- | src/win32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32.cpp b/src/win32.cpp index eff7b6046..5081cff98 100644 --- a/src/win32.cpp +++ b/src/win32.cpp @@ -460,8 +460,8 @@ static HANDLE _file_crash_log; static void GamelogPrintCrashLogProc(const char *s) { DWORD num_written; - WriteFile(_file_crash_log, s, strlen(s), &num_written, NULL); - WriteFile(_file_crash_log, "\r\n", strlen("\r\n"), &num_written, NULL); + WriteFile(_file_crash_log, s, (DWORD)strlen(s), &num_written, NULL); + WriteFile(_file_crash_log, "\r\n", (DWORD)strlen("\r\n"), &num_written, NULL); } static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep) |