diff options
-rw-r--r-- | backends/platform/sdl/sdl-window.cpp | 2 | ||||
-rw-r--r-- | backends/platform/sdl/sdl-window.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/sdl/sdl-window.cpp b/backends/platform/sdl/sdl-window.cpp index 75cf813638..16b978dca4 100644 --- a/backends/platform/sdl/sdl-window.cpp +++ b/backends/platform/sdl/sdl-window.cpp @@ -153,7 +153,7 @@ bool SdlWindow::hasMouseFocus() const { #endif } -void SdlWindow::warpMouseInWindow(uint x, uint y) { +void SdlWindow::warpMouseInWindow(int x, int y) { #if SDL_VERSION_ATLEAST(2, 0, 0) if (_window && hasMouseFocus()) { SDL_WarpMouseInWindow(_window, x, y); diff --git a/backends/platform/sdl/sdl-window.h b/backends/platform/sdl/sdl-window.h index d75e811f56..fb7607be55 100644 --- a/backends/platform/sdl/sdl-window.h +++ b/backends/platform/sdl/sdl-window.h @@ -58,7 +58,7 @@ public: /** * Warp the mouse to the specified position in window coordinates. */ - void warpMouseInWindow(uint x, uint y); + void warpMouseInWindow(int x, int y); /** * Iconifies the window. |