summaryrefslogtreecommitdiff
path: root/tests/rwlock4_t.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rwlock4_t.c')
-rw-r--r--tests/rwlock4_t.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rwlock4_t.c b/tests/rwlock4_t.c
index 3eec003..5df5c05 100644
--- a/tests/rwlock4_t.c
+++ b/tests/rwlock4_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;