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