summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2013-01-09 23:37:22 -0700
committerXiaohong Bao <bao@lindenlab.com>2013-01-09 23:37:22 -0700
commitc539004c7ebec31d7e61209e7110ec96c867aaa6 (patch)
treed2c1508cb31cc95205ee3a83a924dc203f7890f8
parentcda5666dc765c4988b4f01ab34b8a008039ae261 (diff)
fix a type casting error.
-rw-r--r--indra/newview/llfasttimerview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfasttimerview.cpp b/indra/newview/llfasttimerview.cpp
index 32ed662548..ba298ed819 100644
--- a/indra/newview/llfasttimerview.cpp
+++ b/indra/newview/llfasttimerview.cpp
@@ -514,7 +514,7 @@ void LLFastTimerView::draw()
else
{
ms = LLUnit<LLUnits::Seconds, F64>(frame_recording.getPeriodMean(*idp));
- calls = (S32)frame_recording.getPeriodMean((F32)idp->callCount());
+ calls = (S32)frame_recording.getPeriodMean(idp->callCount());
}
if (mDisplayCalls)