diff src/video/wincommon/SDL_syswm.c @ 1456:84de7511f79f

Fixed a bunch of 64-bit compatibility problems
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Mar 2006 09:43:47 +0000
parents bb6839704ed6
children 337665b695d1
line wrap: on
line diff
--- a/src/video/wincommon/SDL_syswm.c	Mon Feb 27 22:14:40 2006 +0000
+++ b/src/video/wincommon/SDL_syswm.c	Wed Mar 01 09:43:47 2006 +0000
@@ -220,7 +220,7 @@
 	if ( screen_icn == NULL ) {
 		SDL_SetError("Couldn't create Win32 icon handle");
 	} else {
-		SetClassLong(SDL_Window, GCL_HICON, (LONG)screen_icn);
+		SetClassLongPtr(SDL_Window, GCL_HICON, (LONG_PTR)screen_icn);
 	}
 	SDL_stack_free(icon_win32);
 #endif /* DISABLE_ICON_SUPPORT */