mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00: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 ) )
|
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
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user