From 09175df729ebf3ee0cf79bb01577744674dd24c2 Mon Sep 17 00:00:00 2001 From: "maf@google.com" Date: Thu, 6 Aug 2009 04:09:16 +0000 Subject: Lots of changes required to build on GCC in full paranoia mode with no warnings generated. Review URL: http://codereview.chromium.org/165013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22581 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/plugin/win/plugin_logging-win32.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'o3d/plugin/win') diff --git a/o3d/plugin/win/plugin_logging-win32.cc b/o3d/plugin/win/plugin_logging-win32.cc index c1f389f..64cf314 100644 --- a/o3d/plugin/win/plugin_logging-win32.cc +++ b/o3d/plugin/win/plugin_logging-win32.cc @@ -67,7 +67,9 @@ PluginLogging::PluginLogging() : timer_(new HighresTimer()), bool PluginLogging::UpdateLogging() { // If sufficient time has not passed since last aggregation, we can just // return until next time. - if (timer_->GetElapsedMs() < kStatsAggregationIntervalMSec) return false; + if (timer_->GetElapsedMs() < + static_cast(kStatsAggregationIntervalMSec)) + return false; // Reset timer. timer_->Start(); -- cgit v1.1