From 6fe9b45db2e9fa8144882bc9dbc656c1b4ff7fad Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Tue, 22 May 2012 00:03:56 -0500 Subject: Fix for linux build. --- indra/newview/llface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview') diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 2824b1a32d..bc8d7fa71f 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; -- cgit v1.2.3