mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Remove improper cast to unsigned value
This commit is contained in:
@@ -386,8 +386,8 @@ void SdlInputHandler::handleMouseMotionEvent(SDL_MouseMotionEvent* event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (event->xrel != 0 || event->yrel != 0) {
|
if (event->xrel != 0 || event->yrel != 0) {
|
||||||
LiSendMouseMoveEvent((unsigned short)event->xrel,
|
LiSendMouseMoveEvent((short)event->xrel,
|
||||||
(unsigned short)event->yrel);
|
(short)event->yrel);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user