From a4eef8ee55b386b6c0fb4c1f90146535d5f3b0dd Mon Sep 17 00:00:00 2001 From: James Cook Date: Tue, 7 Jul 2009 04:11:41 +0000 Subject: Fix Linux build - failing due to warning about S32/float conversion --- indra/newview/lltextureview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp index f9529efdd4..44cd8f0371 100644 --- a/indra/newview/lltextureview.cpp +++ b/indra/newview/lltextureview.cpp @@ -406,7 +406,7 @@ void LLGLTexMemBar::draw() S32 max_total_mem = LLViewerImage::sMaxTotalTextureMemInMegaBytes; F32 discard_bias = LLViewerImage::sDesiredDiscardBias; S32 line_height = (S32)(LLFontGL::getFontMonospace()->getLineHeight() + .5f); - S32 h_offset = (texture_bar_height + 2.8f) * mTextureView->mNumTextureBars ; + S32 h_offset = (S32)((texture_bar_height + 2.8f) * mTextureView->mNumTextureBars); //---------------------------------------------------------------------------- LLGLSUIDefault gls_ui; F32 text_color[] = {1.f, 1.f, 1.f, 0.75f}; -- cgit v1.2.3