summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-07-14 10:16:18 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-07-14 10:16:18 +0100
commit4339600d43601f07d01c676cce5da17c2758c4cb (patch)
treee77d629f6d03ed7ca471e77ccefcd9437be82c49
parent5c5057eb9aab2344fa53709583b166d9cc09a80b (diff)
fix some wacky casting.
-rw-r--r--indra/newview/llviewerstats.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llviewerstats.h b/indra/newview/llviewerstats.h
index b5cea9d6a8..694eeaf097 100644
--- a/indra/newview/llviewerstats.h
+++ b/indra/newview/llviewerstats.h
@@ -235,7 +235,8 @@ public:
inline void reset()
{
- mCount = mSum = mSumOfSquares = 0;
+ mCount = 0;
+ mSum = mSumOfSquares = 0.f;
mCountOfNextUpdatesToIgnore = 0;
}