diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 2824b1a32d7868edda62b3566bec594bb2528be8..bc8d7fa71f198efedf70dbf049752047a3072f79 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1434,7 +1434,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
 
 			U8 index = mTextureIndex < 255 ? mTextureIndex : 0;
 
-			S32 val = 0.f;
+			S32 val = 0;
 			U8* vp = (U8*) &val;
 			vp[0] = index;
 			vp[1] = 0;