mirror of https://github.com/OpenTTD/OpenTTD
(svn r13572) -Fix: MSVC x64 complains.
parent
7a7ff65ac5
commit
f2730396da
|
@ -1033,7 +1033,7 @@ int8 SaveHighScoreValueNetwork()
|
||||||
{
|
{
|
||||||
const Player* p;
|
const Player* p;
|
||||||
const Player* pl[MAX_PLAYERS];
|
const Player* pl[MAX_PLAYERS];
|
||||||
size_t count = 0;
|
uint count = 0;
|
||||||
int8 player = -1;
|
int8 player = -1;
|
||||||
|
|
||||||
/* Sort all active players with the highest score first */
|
/* Sort all active players with the highest score first */
|
||||||
|
|
|
@ -460,8 +460,8 @@ static HANDLE _file_crash_log;
|
||||||
static void GamelogPrintCrashLogProc(const char *s)
|
static void GamelogPrintCrashLogProc(const char *s)
|
||||||
{
|
{
|
||||||
DWORD num_written;
|
DWORD num_written;
|
||||||
WriteFile(_file_crash_log, s, strlen(s), &num_written, NULL);
|
WriteFile(_file_crash_log, s, (DWORD)strlen(s), &num_written, NULL);
|
||||||
WriteFile(_file_crash_log, "\r\n", strlen("\r\n"), &num_written, NULL);
|
WriteFile(_file_crash_log, "\r\n", (DWORD)strlen("\r\n"), &num_written, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
|
static LONG WINAPI ExceptionHandler(EXCEPTION_POINTERS *ep)
|
||||||
|
|
Loading…
Reference in New Issue