summaryrefslogtreecommitdiffstats
path: root/base/time_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'base/time_win.cc')
-rw-r--r--base/time_win.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/base/time_win.cc b/base/time_win.cc
index 9e6fe53..9bb04de 100644
--- a/base/time_win.cc
+++ b/base/time_win.cc
@@ -363,12 +363,7 @@ class HighResNowSingleton {
if (!IsUsingHighResClock())
return 0;
- // The static_cast<long> is needed as a hint to VS 2008 to tell it
- // which version of abs() to use. Other compilers don't seem to
- // need it, including VS 2010, but to keep code identical we use it
- // everywhere.
- // TODO(joi): Remove the hint if/when we no longer support VS 2008.
- return abs(static_cast<long>((UnreliableNow() - ReliableNow()) - skew_));
+ return abs((UnreliableNow() - ReliableNow()) - skew_);
}
private: