Win32: Fix VC++ warning

This commit is contained in:
Camilla Löwy 2017-02-28 00:07:37 +01:00
parent c54b5da403
commit a44f2c0e65

View File

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