summaryrefslogtreecommitdiff
path: root/tests/mutex8.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mutex8.c')
-rw-r--r--tests/mutex8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mutex8.c b/tests/mutex8.c
index 827fae0..f019006 100644
--- a/tests/mutex8.c
+++ b/tests/mutex8.c
@@ -49,7 +49,7 @@ void * locker(void * arg)
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;