From f964c8faa84cfa95bbf73552e99a2d0b80f7bee2 Mon Sep 17 00:00:00 2001 From: Richard Linden Date: Fri, 12 Apr 2013 11:47:15 -0700 Subject: BUILDFIX: attempted gcc fix --- indra/llcommon/lltracerecording.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'indra/llcommon') diff --git a/indra/llcommon/lltracerecording.h b/indra/llcommon/lltracerecording.h index 6cf6f4f84f..1412d78a56 100644 --- a/indra/llcommon/lltracerecording.h +++ b/indra/llcommon/lltracerecording.h @@ -297,7 +297,7 @@ namespace LLTrace } template - typename T::value_t getPeriodMin(const TraceType& stat, U32 num_periods = S32_MAX) const + typename T::value_t getPeriodMin(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); @@ -312,7 +312,7 @@ namespace LLTrace } template - F64 getPeriodMinPerSec(const TraceType& stat, U32 num_periods = S32_MAX) const + F64 getPeriodMinPerSec(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); @@ -327,7 +327,7 @@ namespace LLTrace } template - typename T::value_t getPeriodMax(const TraceType& stat, U32 num_periods = S32_MAX) const + typename T::value_t getPeriodMax(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); @@ -342,7 +342,7 @@ namespace LLTrace } template - F64 getPeriodMaxPerSec(const TraceType& stat, U32 num_periods = S32_MAX) const + F64 getPeriodMaxPerSec(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); @@ -357,7 +357,7 @@ namespace LLTrace } template - typename T::value_t getPeriodMean(const TraceType& stat, U32 num_periods = S32_MAX) const + typename T::value_t getPeriodMean(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); @@ -378,7 +378,7 @@ namespace LLTrace } template - typename T::value_t getPeriodMeanPerSec(const TraceType& stat, U32 num_periods = S32_MAX) const + typename T::value_t getPeriodMeanPerSec(const TraceType& stat, size_t num_periods = U32_MAX) const { size_t total_periods = mRecordingPeriods.size(); num_periods = llmin(num_periods, total_periods); -- cgit v1.2.3