engine: platform: sdl: fix incorrect HICON cast in SetClassLongPtr call
This commit is contained in:
parent
f8cf2c8953
commit
098c4c009b
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue