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