engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call

This commit is contained in:
Alibek Omarov 2023-03-21 05:16:07 +03:00
parent f8cf2c8953
commit 098c4c009b

View File

@ -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