diff options
Diffstat (limited to 'o3d/plugin/mac/plugin_logging-mac.mm')
-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 |