diff options
author | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 04:09:16 +0000 |
---|---|---|
committer | maf@google.com <maf@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-06 04:09:16 +0000 |
commit | 09175df729ebf3ee0cf79bb01577744674dd24c2 (patch) | |
tree | aea23c43be67ba51a67918d3f4c4762402831adc /o3d/plugin/mac | |
parent | 6e713f08e972d4b7cf730c83a53345a4b53e1262 (diff) | |
download | chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.zip chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.tar.gz chromium_src-09175df729ebf3ee0cf79bb01577744674dd24c2.tar.bz2 |
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
Diffstat (limited to 'o3d/plugin/mac')
-rw-r--r-- | o3d/plugin/mac/plugin_logging-mac.mm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/o3d/plugin/mac/plugin_logging-mac.mm b/o3d/plugin/mac/plugin_logging-mac.mm index 8466260..ab3ad5c 100644 --- a/o3d/plugin/mac/plugin_logging-mac.mm +++ b/o3d/plugin/mac/plugin_logging-mac.mm @@ -63,7 +63,9 @@ PluginLogging::PluginLogging() : timer_(new HighresTimer()), bool PluginLogging::UpdateLogging() { // Check that sufficient time has passed since last aggregation // Otherwise we can just return - if (timer_->GetElapsedMs() < kStatsAggregationIntervalMSec) return false; + if (timer_->GetElapsedMs() < + static_cast<unsigned>(kStatsAggregationIntervalMSec)) + return false; // Sufficient time has passed, let's process // Reset timer |