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