From f619dd95d1e33a4c11c2b9491f28a66881626ecc Mon Sep 17 00:00:00 2001
From: Richard Linden <none@none>
Date: Tue, 15 Mar 2011 09:13:30 -0700
Subject: [PATCH] fix for gcc builds

---
 indra/newview/llhudeffectblob.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/llhudeffectblob.cpp b/indra/newview/llhudeffectblob.cpp
index f976a320ee3..26e8251899a 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();
-- 
GitLab