aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Chris Xiong <chirs241097@gmail.com> 2020-12-14 23:25:56 +0800
committerGravatar Chris Xiong <chirs241097@gmail.com> 2020-12-14 23:25:56 +0800
commit14e01896cae2cbc7bf9aae37660e837f787ea20a (patch)
treeb6ac377b3d72479374fdb135f1205936579553d5
parent64fd118e1c5944befcf067a0e99d6d138c7559cb (diff)
downloadQMidiPlayer-14e01896cae2cbc7bf9aae37660e837f787ea20a.tar.xz
Emergency.
-rw-r--r--core/qmpmidiplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qmpmidiplay.cpp b/core/qmpmidiplay.cpp
index 99db420..aeb39be 100644
--- a/core/qmpmidiplay.cpp
+++ b/core/qmpmidiplay.cpp
@@ -268,7 +268,7 @@ void CMidiPlayer::playEvents()
else
{
#ifdef _WIN32
- w32usleep(uint64_t((ns_sleep + correction) / 1000)));
+ w32usleep(uint64_t((ns_sleep + correction) / 1000));
#else
std::this_thread::sleep_for(std::chrono::nanoseconds(uint64_t(ns_sleep + correction)));
#endif