summaryrefslogtreecommitdiffstats
path: root/src/chrono.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/chrono.cpp')
-rw-r--r--src/chrono.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chrono.cpp b/src/chrono.cpp
index 416b950..73c83ee 100644
--- a/src/chrono.cpp
+++ b/src/chrono.cpp
@@ -61,7 +61,7 @@ static
steady_clock::rep
steady_simplified()
{
- return mach_absolute_time();
+ return static_cast<steady_clock::rep>(mach_absolute_time());
}
static
OpenPOWER on IntegriCloud