mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 06:28:24 +02:00
Fixed warnings
This commit is contained in:
@@ -158,8 +158,8 @@ void SDL_DelayNS(Uint64 ns)
|
||||
|
||||
/* Set the timeout interval */
|
||||
#if HAVE_NANOSLEEP
|
||||
remaining.tv_sec = (ns / SDL_NS_PER_SECOND);
|
||||
remaining.tv_nsec = (ns % SDL_NS_PER_SECOND);
|
||||
remaining.tv_sec = (time_t)(ns / SDL_NS_PER_SECOND);
|
||||
remaining.tv_nsec = (long)(ns % SDL_NS_PER_SECOND);
|
||||
#else
|
||||
then = SDL_GetTicksNS();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user