From d58ef90a029802370f4dd6246e522ca75cce9b0a Mon Sep 17 00:00:00 2001 From: Tofu Linden <tofu.linden@lindenlab.com> Date: Wed, 19 May 2010 10:26:33 +0100 Subject: [PATCH] explicit castfu for gcc. --- indra/newview/llface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp index 365f2fbe1ad..53dc335c162 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 { -- GitLab