SDL_timer.c: silence a minor warning.
parent
0a33ed7a2b
commit
c41a76657e
|
@ -539,7 +539,7 @@ void SDL_InitTicks(void)
|
|||
SDL_TimerResolutionChanged, NULL);
|
||||
|
||||
tick_freq = SDL_GetPerformanceFrequency();
|
||||
SDL_assert(tick_freq > 0 && tick_freq <= SDL_MAX_UINT32);
|
||||
SDL_assert(tick_freq > 0 && tick_freq <= (Uint64)SDL_MAX_UINT32);
|
||||
|
||||
gcd = CalculateGCD(SDL_NS_PER_SECOND, (Uint32)tick_freq);
|
||||
tick_numerator_ns = (SDL_NS_PER_SECOND / gcd);
|
||||
|
|
Loading…
Reference in New Issue