mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-17 19:48:51 +00:00
Fixed warning C4244: 'initializing': conversion from 'WPARAM' to 'Uint32', possible loss of data
This commit is contained in:
parent
d41e48e4c6
commit
690d73f5c9
1 changed files with 1 additions and 1 deletions
|
|
@ -1481,7 +1481,7 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
|
|||
|
||||
case WM_SIZING:
|
||||
{
|
||||
Uint32 edge = wParam;
|
||||
WPARAM edge = wParam;
|
||||
RECT* dragRect = (RECT*)lParam;
|
||||
RECT clientDragRect = *dragRect;
|
||||
SDL_bool lock_aspect_ratio = (data->window->max_aspect == data->window->min_aspect) ? SDL_TRUE : SDL_FALSE;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue