diff --git a/src/win32_window.c b/src/win32_window.c index 2a1ba6f8b..ae63057fc 100644 --- a/src/win32_window.c +++ b/src/win32_window.c @@ -604,7 +604,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg, if (newCursorX != window->win32.oldCursorX || newCursorY != window->win32.oldCursorY) { - double x, y; + int x, y; if (window->cursorMode == GLFW_CURSOR_DISABLED) {