diff options
author | tron <tron@openttd.org> | 2005-09-25 09:04:59 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-09-25 09:04:59 +0000 |
commit | c2c865e4b9705a009b71d9cd69ce6821bc1bca72 (patch) | |
tree | d32081413d37e02ae74f2636f2ff0fa5e08da4dc /win32.c | |
parent | 03ad234d47b72a833f88ff227acc0b698f7a2c0f (diff) | |
download | openttd-c2c865e4b9705a009b71d9cd69ce6821bc1bca72.tar.xz |
(svn r2984) Use adequate types, this should aid portability a bit
Diffstat (limited to 'win32.c')
-rw-r--r-- | win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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: |