diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp
index e99a5d2fd9a52dd6760d4316c5dc6d34f9891682..fe760af5ea9d770e7ef3d665c770b9aee1b8dd2d 100644
--- a/indra/newview/llvoavatar.cpp
+++ b/indra/newview/llvoavatar.cpp
@@ -10802,7 +10802,7 @@ void LLVOAvatar::calcMutedAVColor()
    {
         // select a color based on the first byte of the agents uuid so any muted agent is always the same color
         F32 color_value = (F32) (av_id.mData[0]);
-        F32 spectrum = (color_value / 256.0);		// spectrum is between 0 and 1.f
+        F32 spectrum = (color_value / 256.f);		// spectrum is between 0 and 1.f
 
         // Array of colors.  These are arranged so only one RGB color changes between each step, 
         // and it loops back to red so there is an even distribution.  It is not a heat map