mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-23 00:19:53 +00:00
Clean up a bunch of warnings when building with Xcode 6.1
This commit is contained in:
@@ -39,7 +39,7 @@ void PltSleepMs(int ms) {
|
||||
#if defined(LC_WINDOWS) || defined (LC_WINDOWS_PHONE)
|
||||
WaitForSingleObjectEx(GetCurrentThread(), ms, FALSE);
|
||||
#else
|
||||
long usecs = (long)ms * 1000;
|
||||
useconds_t usecs = ms * 1000;
|
||||
usleep(usecs);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user