Commits

Richard Linden  committed 48a460f

fix for gcc builds

  • Participants
  • Parent commits 10f3f7b

Comments (0)

Files changed (1)

File indra/newview/llhudeffectblob.cpp

 	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();