From d58ef90a029802370f4dd6246e522ca75cce9b0a Mon Sep 17 00:00:00 2001 From: Tofu Linden Date: Wed, 19 May 2010 10:26:33 +0100 Subject: explicit castfu for gcc. --- indra/newview/llface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llface.cpp') diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 365f2fbe1a..53dc335c16 100644 --- a/indra/newview/llface.cpp +++ b/indra/newview/llface.cpp @@ -1398,7 +1398,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume, F32 da = normal * gPipeline.mSunDir; - *colors++ = LLColor4U(color.mV[0]*da, color.mV[1]*da, color.mV[2]*da, color.mV[3]); + *colors++ = LLColor4U(U8(color.mV[0]*da), U8(color.mV[1]*da), U8(color.mV[2]*da), color.mV[3]); } else { -- cgit v1.2.3