value expansion to double
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
63d1f74fe9
commit
7e0e5fe1e4
@ -527,7 +527,7 @@ void wxThread::Sleep(unsigned long milliseconds)
|
||||
do
|
||||
{
|
||||
YieldToAnyThread();
|
||||
} while( clock() - start < (milliseconds * CLOCKS_PER_SEC) / 1000 ) ;
|
||||
} while( clock() - start < milliseconds / 1000.0 * CLOCKS_PER_SEC ) ;
|
||||
}
|
||||
|
||||
int wxThread::GetCPUCount()
|
||||
|
@ -527,7 +527,7 @@ void wxThread::Sleep(unsigned long milliseconds)
|
||||
do
|
||||
{
|
||||
YieldToAnyThread();
|
||||
} while( clock() - start < (milliseconds * CLOCKS_PER_SEC) / 1000 ) ;
|
||||
} while( clock() - start < milliseconds / 1000.0 * CLOCKS_PER_SEC ) ;
|
||||
}
|
||||
|
||||
int wxThread::GetCPUCount()
|
||||
|
Loading…
Reference in New Issue
Block a user