Clean up a bunch of warnings when building with Xcode 6.1

This commit is contained in:
Cameron Gutman
2014-10-18 11:32:29 -04:00
parent 8a5643784e
commit 0758de960a
9 changed files with 25 additions and 17 deletions

View File

@@ -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
}