summaryrefslogtreecommitdiff
path: root/indra/newview/llface.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-05-19 10:26:33 +0100
committerTofu Linden <tofu.linden@lindenlab.com>2010-05-19 10:26:33 +0100
commitd58ef90a029802370f4dd6246e522ca75cce9b0a (patch)
tree1aff0a2a89f9d8b681245998a6ef012e4e62cca2 /indra/newview/llface.cpp
parentf41e2d3752646fd5ffdb9764b1d3434e68a9baeb (diff)
explicit castfu for gcc.
Diffstat (limited to 'indra/newview/llface.cpp')
-rw-r--r--indra/newview/llface.cpp2
1 files changed, 1 insertions, 1 deletions
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
{