summaryrefslogtreecommitdiff
path: root/indra/newview/lltextureview.cpp
diff options
context:
space:
mode:
authorJames Cook <james@lindenlab.com>2009-07-07 04:11:41 +0000
committerJames Cook <james@lindenlab.com>2009-07-07 04:11:41 +0000
commita4eef8ee55b386b6c0fb4c1f90146535d5f3b0dd (patch)
treeceef10c3c28c7e8e520edf2bbfb88df00aeee31e /indra/newview/lltextureview.cpp
parent52aeaa32841e7d0b37abab0a2a2540c2be2f16b7 (diff)
Fix Linux build - failing due to warning about S32/float conversion
Diffstat (limited to 'indra/newview/lltextureview.cpp')
-rw-r--r--indra/newview/lltextureview.cpp2
1 files changed, 1 insertions, 1 deletions
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};