mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-13 13:21:31 +00:00
More warning squashing
This commit is contained in:
parent
3eafca0dc1
commit
98c3c3a3ae
2 changed files with 3 additions and 3 deletions
|
@ -742,7 +742,7 @@ static inline void I_ShutdownConsole(void){}
|
|||
//
|
||||
void I_StartupKeyboard (void)
|
||||
{
|
||||
#if defined (NDEBUG) && !defined (DC)
|
||||
#if !defined (DC)
|
||||
#ifdef SIGILL
|
||||
signal(SIGILL , signal_handler);
|
||||
#endif
|
||||
|
|
|
@ -741,8 +741,8 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
|
|||
}
|
||||
else
|
||||
{
|
||||
event.data2 = (INT32)round((evt.xrel) * ((float)wwidth / (float)realwidth));
|
||||
event.data3 = (INT32)round(-evt.yrel * ((float)wheight / (float)realheight));
|
||||
event.data2 = (INT32)lround((evt.xrel) * ((float)wwidth / (float)realwidth));
|
||||
event.data3 = (INT32)lround(-evt.yrel * ((float)wheight / (float)realheight));
|
||||
}
|
||||
|
||||
event.type = ev_mouse;
|
||||
|
|
Loading…
Reference in a new issue