mirror of
https://github.com/google/benchmark.git
synced 2025-04-12 20:41:14 +08:00
Fixed double to float warning.
This commit is contained in:
parent
e7f6c42a79
commit
2589e69e05
@ -150,7 +150,7 @@ WallTime WallTimeImp::Now() {
|
||||
// We are now sure that "now" and "result" were produced within
|
||||
// kMaxErrorInterval of one another.
|
||||
|
||||
SetDrift(now - result);
|
||||
SetDrift(static_cast<float>(now - result));
|
||||
last_adjust_time_ = top_bits;
|
||||
return now;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user