summaryrefslogtreecommitdiff
path: root/tests/condvar2.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/condvar2.c')
-rw-r--r--tests/condvar2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/condvar2.c b/tests/condvar2.c
index 793bb36..9bd0aba 100644
--- a/tests/condvar2.c
+++ b/tests/condvar2.c
@@ -99,7 +99,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 += 1;