summaryrefslogtreecommitdiff
path: root/win32.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-09-25 09:04:59 +0000
committertron <tron@openttd.org>2005-09-25 09:04:59 +0000
commitc2c865e4b9705a009b71d9cd69ce6821bc1bca72 (patch)
treed32081413d37e02ae74f2636f2ff0fa5e08da4dc /win32.c
parent03ad234d47b72a833f88ff227acc0b698f7a2c0f (diff)
downloadopenttd-c2c865e4b9705a009b71d9cd69ce6821bc1bca72.tar.xz
(svn r2984) Use adequate types, this should aid portability a bit
Diffstat (limited to 'win32.c')
-rw-r--r--win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32.c b/win32.c
index e2f2d95bc..125b01264 100644
--- a/win32.c
+++ b/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: