From 4339600d43601f07d01c676cce5da17c2758c4cb Mon Sep 17 00:00:00 2001
From: Tofu Linden <tofu.linden@lindenlab.com>
Date: Wed, 14 Jul 2010 10:16:18 +0100
Subject: [PATCH] fix some wacky casting.

---
 indra/newview/llviewerstats.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/indra/newview/llviewerstats.h b/indra/newview/llviewerstats.h
index b5cea9d6a80..694eeaf0974 100644
--- a/indra/newview/llviewerstats.h
+++ b/indra/newview/llviewerstats.h
@@ -235,7 +235,8 @@ class LLViewerStats : public LLSingleton<LLViewerStats>
 
 		inline void reset()
 		{
-			mCount = mSum = mSumOfSquares = 0;
+			mCount = 0;
+			mSum = mSumOfSquares = 0.f;
 			mCountOfNextUpdatesToIgnore = 0;
 		}
 		
-- 
GitLab