Commit 2589e69e by Anton Danielsson

Fixed double to float warning.

parent e7f6c42a
...@@ -150,7 +150,7 @@ WallTime WallTimeImp::Now() { ...@@ -150,7 +150,7 @@ WallTime WallTimeImp::Now() {
// We are now sure that "now" and "result" were produced within // We are now sure that "now" and "result" were produced within
// kMaxErrorInterval of one another. // kMaxErrorInterval of one another.
SetDrift(now - result); SetDrift(static_cast<float>(now - result));
last_adjust_time_ = top_bits; last_adjust_time_ = top_bits;
return now; return now;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment