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 | ae911203078c455e5caf11bd65200af0f02282d4 (patch) | |
tree | 82a09e7d7db1b95ee13ee3c1a21d2c912a4d3e53 | |
parent | 5259d13da7db6583b0ac2ead56572ced6c679dac (diff) | |
download | openttd-ae911203078c455e5caf11bd65200af0f02282d4.tar.xz |
(svn r13572) -Fix: MSVC x64 complains.
-rw-r--r-- | src/players.cpp | 2 | ||||
-rw-r--r-- | src/win32.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/players.cpp b/src/players.cpp index 72759398c..3eda2ee4c 100644 --- a/src/players.cpp +++ b/src/players.cpp @@ -1033,7 +1033,7 @@ int8 SaveHighScoreValueNetwork() { const Player* p; const Player* pl[MAX_PLAYERS]; - size_t count = 0; + uint count = 0; int8 player = -1; /* Sort all active players with the highest score first */ 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) |