More warning squashing

This commit is contained in:
Ronald Kinard 2014-11-13 23:09:57 -06:00
parent 3eafca0dc1
commit 98c3c3a3ae
2 changed files with 3 additions and 3 deletions

View File

@ -742,7 +742,7 @@ static inline void I_ShutdownConsole(void){}
// //
void I_StartupKeyboard (void) void I_StartupKeyboard (void)
{ {
#if defined (NDEBUG) && !defined (DC) #if !defined (DC)
#ifdef SIGILL #ifdef SIGILL
signal(SIGILL , signal_handler); signal(SIGILL , signal_handler);
#endif #endif

View File

@ -741,8 +741,8 @@ static void Impl_HandleMouseMotionEvent(SDL_MouseMotionEvent evt)
} }
else else
{ {
event.data2 = (INT32)round((evt.xrel) * ((float)wwidth / (float)realwidth)); event.data2 = (INT32)lround((evt.xrel) * ((float)wwidth / (float)realwidth));
event.data3 = (INT32)round(-evt.yrel * ((float)wheight / (float)realheight)); event.data3 = (INT32)lround(-evt.yrel * ((float)wheight / (float)realheight));
} }
event.type = ev_mouse; event.type = ev_mouse;