Mercurial > sdl-ios-xcode
diff src/video/wincommon/SDL_wingl.c @ 1472:4aac8563c296
Fixed more Win64 portability issues
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 06 Mar 2006 08:11:10 +0000 |
parents | d910939febfa |
children | 0a2bd6507477 |
line wrap: on
line diff
--- a/src/video/wincommon/SDL_wingl.c Mon Mar 06 07:42:36 2006 +0000 +++ b/src/video/wincommon/SDL_wingl.c Mon Mar 06 08:11:10 2006 +0000 @@ -45,7 +45,7 @@ /* Save the existing window attributes */ LONG style; RECT rect = { 0, 0, 0, 0 }; - style = GetWindowLong(SDL_Window, GWL_STYLE); + style = GetWindowLongPtr(SDL_Window, GWL_STYLE); GetWindowRect(SDL_Window, &rect); DestroyWindow(SDL_Window); SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,