diff src/video/wincommon/SDL_sysevents.c @ 1472:4aac8563c296

Fixed more Win64 portability issues
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 08:11:10 +0000
parents 8dfa9a6d69a5
children 0a2bd6507477
line wrap: on
line diff
--- a/src/video/wincommon/SDL_sysevents.c	Mon Mar 06 07:42:36 2006 +0000
+++ b/src/video/wincommon/SDL_sysevents.c	Mon Mar 06 08:11:10 2006 +0000
@@ -562,7 +562,7 @@
 			   Aparently it's too difficult for MS to check
 			   inside their function, so I have to do it here.
           		 */
-         		style = GetWindowLong(hwnd, GWL_STYLE);
+         		style = GetWindowLongPtr(hwnd, GWL_STYLE);
          		AdjustWindowRect(
 				&size,
 				style,