forked from mirror/OpenTTD
(svn r2984) Use adequate types, this should aid portability a bit
This commit is contained in:
4
win32.c
4
win32.c
@@ -161,7 +161,7 @@ static char *PrintModuleInfo(char *output, HMODULE mod)
|
||||
|
||||
GetModuleFileName(mod, buffer, MAX_PATH);
|
||||
GetFileInfo(&dfi, buffer);
|
||||
output += sprintf(output, " %-20s handle: %.8X size: %d crc: %.8X date: %d-%.2d-%.2d %.2d:%.2d:%.2d\r\n",
|
||||
output += sprintf(output, " %-20s handle: %p size: %d crc: %.8X date: %d-%.2d-%.2d %.2d:%.2d:%.2d\r\n",
|
||||
buffer,
|
||||
mod,
|
||||
dfi.size,
|
||||
@@ -351,7 +351,7 @@ static bool DoEmergencySave(HWND wnd)
|
||||
return b;
|
||||
}
|
||||
|
||||
static BOOL CALLBACK CrashDialogFunc(HWND wnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
||||
static INT_PTR CALLBACK CrashDialogFunc(HWND wnd,UINT msg,WPARAM wParam,LPARAM lParam)
|
||||
{
|
||||
switch(msg) {
|
||||
case WM_INITDIALOG:
|
||||
|
Reference in New Issue
Block a user