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