Commit c3972fc4 authored by sletz's avatar sletz
Browse files

Cleanup

git-svn-id: http://subversion.jackaudio.org/jack/jack2/trunk/jackmp@1854 0c269be4-1314-0410-8aa9-9f06e86f4224
parent 8129fb1a
......@@ -239,7 +239,7 @@ static inline void WaitGraphChange()
if (manager && control && manager->IsPendingChange()) {
JackLog("WaitGraphChange...\n");
JackSleep(control->fPeriodUsecs * 1.1f);
JackSleep(int(control->fPeriodUsecs * 1.1f));
}
}
......
......@@ -45,7 +45,7 @@ extern "C"
/* This should only be called ONCE per process. */
extern void InitTime();
static inline void JackSleep(long usec)
static inline void JackSleep(int usec)
{
usleep(usec);
}
......@@ -60,7 +60,7 @@ extern "C"
extern void InitTime();
static void JackSleep(long usec)
static void JackSleep(int usec)
{
Sleep(usec / 1000);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment