mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-15 05:29:51 +01:00
engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call
This commit is contained in:
parent
f8cf2c8953
commit
098c4c009b
@ -619,7 +619,7 @@ static void WIN_SetWindowIcon( HICON ico )
|
||||
|
||||
if( SDL_GetWindowWMInfo( host.hWnd, &wminfo ) )
|
||||
{
|
||||
SetClassLongPtr( wminfo.info.win.window, GCLP_HICON, (LONG)ico );
|
||||
SetClassLongPtr( wminfo.info.win.window, GCLP_HICON, (LONG_PTR)ico );
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user