Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
win32: thread: rework the conversion to milliseconds in vlc_atomic_ti…
…medwait() First we convert the delay to int64_t (same width/sign as a vlc_tick_t) in milliseconds from vlc_tick_t/time_t. Then we check it fits in a DWORD, aka an unsigned long. If it doesn't fit we clip the value to ULONG_MAX.
- Loading branch information