aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flthr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flthr.cpp')
-rw-r--r--externals/grill/flext/source/flthr.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flthr.cpp b/externals/grill/flext/source/flthr.cpp
index 56a9c9a2..f56ab096 100644
--- a/externals/grill/flext/source/flthr.cpp
+++ b/externals/grill/flext/source/flthr.cpp
@@ -625,7 +625,7 @@ bool flext::ThrCond::TimedWait(double ftm)
ftime(&tmb);
#endif
tm.tv_nsec = tmb.millitm*1000000;
- tm.tv_sec = tmb.time;
+ tm.tv_sec = (long)tmb.time;
#else // POSIX
#if 0 // find out when the following is defined
clock_gettime(CLOCK_REALTIME,tm);