diff options
Diffstat (limited to 'tests/condvar4.c')
-rw-r--r-- | tests/condvar4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/condvar4.c b/tests/condvar4.c index c27aafb..42a8168 100644 --- a/tests/condvar4.c +++ b/tests/condvar4.c @@ -130,7 +130,7 @@ main() /* get current system time */ PTW32_FTIME(&currSysTime); - abstime.tv_sec = currSysTime.time; + abstime.tv_sec = (long)currSysTime.time; abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm; abstime.tv_sec += 5; @@ -143,7 +143,7 @@ main() PTW32_FTIME(&currSysTime); - abstime.tv_sec = currSysTime.time; + abstime.tv_sec = (long)currSysTime.time; abstime.tv_nsec = NANOSEC_PER_MILLISEC * currSysTime.millitm; abstime.tv_sec += 5; |