Thread.cpp: Explicitly state difference type in thread_ctrl::wait_for_accurate

This commit is contained in:
Eladash 2024-02-11 22:17:50 +02:00 committed by Elad.Ash
parent 94239f5526
commit 77ba2b40e7

View file

@ -2427,7 +2427,7 @@ void thread_ctrl::wait_for_accurate(u64 usec)
break;
}
usec = (until - current).count();
usec = std::chrono::duration_cast<std::chrono::microseconds>(until - current).count();
}
#endif
}