Permalink
Browse files

Fix compiler warning on Windows

  • Loading branch information...
1 parent c3554e4 commit bb90529bf94e59bea5ef9047b6f5d3d33954f011 @nikreiman nikreiman committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/TaskTimerTest.c
@@ -29,7 +29,7 @@ static void _testSleep(void) {
sleepTime.tv_nsec = 1000000 * SLEEP_DURATION_MS;
nanosleep(&sleepTime, NULL);
#elif WINDOWS
- Sleep(SLEEP_DURATION_MS);
+ Sleep((DWORD)SLEEP_DURATION_MS);
#endif
}

0 comments on commit bb90529

Please sign in to comment.