summaryrefslogtreecommitdiff
path: root/indra/newview/llhudeffectblob.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-03-15 09:13:30 -0700
committerRichard Linden <none@none>2011-03-15 09:13:30 -0700
commitf619dd95d1e33a4c11c2b9491f28a66881626ecc (patch)
treeae37a55e02f698092d6dc25329c798e03aa33baa /indra/newview/llhudeffectblob.cpp
parente637a29156f4e0c53e2b4e3a75667f447572de46 (diff)
fix for gcc builds
Diffstat (limited to 'indra/newview/llhudeffectblob.cpp')
-rw-r--r--indra/newview/llhudeffectblob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llhudeffectblob.cpp b/indra/newview/llhudeffectblob.cpp
index f976a320ee..26e8251899 100644
--- a/indra/newview/llhudeffectblob.cpp
+++ b/indra/newview/llhudeffectblob.cpp
@@ -61,7 +61,7 @@ void LLHUDEffectBlob::render()
gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE);
LLColor4U color = mColor;
- color.mV[VALPHA] = clamp_rescale(time, 0.f, mDuration, 255.f, 0.f);
+ color.mV[VALPHA] = (U8)clamp_rescale(time, 0.f, mDuration, 255.f, 0.f);
glColor4ubv(color.mV);
glPushMatrix();