mirror of
https://github.com/glfw/glfw.git
synced 2024-11-11 13:03:52 +00:00
Win32: Fix VC++ warning
This commit is contained in:
parent
c54b5da403
commit
a44f2c0e65
@ -703,7 +703,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
|
||||
break;
|
||||
|
||||
GetRawInputData(ri, RID_INPUT, NULL, &size, sizeof(RAWINPUTHEADER));
|
||||
if (size > _glfw.win32.rawInputSize)
|
||||
if (size > (UINT) _glfw.win32.rawInputSize)
|
||||
{
|
||||
free(_glfw.win32.rawInput);
|
||||
_glfw.win32.rawInput = calloc(size, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user