summaryrefslogtreecommitdiff
path: root/tests/condvar6.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar6.c')
-rw-r--r--tests/condvar6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar6.c b/tests/condvar6.c
index 70da6a7..e7be0da 100644
--- a/tests/condvar6.c
+++ b/tests/condvar6.c
@@ -159,7 +159,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;