Reduce number of compile-time warnings (continued)

This commit is contained in:
Joseph Henry
2021-04-30 16:38:21 -07:00
parent 6763ced6f5
commit 3e304cb25a
8 changed files with 12 additions and 12 deletions

View File

@@ -261,7 +261,7 @@ void VirtualTap::threadMain() throw()
#if defined(__WINDOWS__)
Sleep(ZTS_TAP_THREAD_POLLING_INTERVAL);
#else
struct timespec sleepValue = { 0 };
struct timespec sleepValue = { 0, 0 };
sleepValue.tv_nsec = ZTS_TAP_THREAD_POLLING_INTERVAL * 500000;
nanosleep(&sleepValue, NULL);
#endif