SDL_timer.c: silence a minor warning.

main
Ozkan Sezer 2023-04-12 12:55:40 +03:00
parent 0a33ed7a2b
commit c41a76657e
1 changed files with 1 additions and 1 deletions

View File

@ -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);