summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorRichard Linden <none@none>2013-07-15 14:11:05 -0700
committerRichard Linden <none@none>2013-07-15 14:11:05 -0700
commit551ec2a56607bc6f9182f4e6410ef7f921bcac10 (patch)
tree3e766ad731ab4756148ddb5e60aa33afe13554ba /indra/newview
parentc2a456e9f2d92a62551cfbd1367c9a0303a1570d (diff)
BUILDFIX: improper type passed to llformat
Diffstat (limited to 'indra/newview')
-rwxr-xr-xindra/newview/lltextureview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltextureview.cpp b/indra/newview/lltextureview.cpp
index 20e8a522cd..c1b5309f82 100755
--- a/indra/newview/lltextureview.cpp
+++ b/indra/newview/lltextureview.cpp
@@ -590,7 +590,7 @@ void LLGLTexMemBar::draw()
LLUnit<F32, LLUnits::Kibibits> max_bandwidth = gSavedSettings.getF32("ThrottleBandwidthKBPS");
color = bandwidth > max_bandwidth ? LLColor4::red : bandwidth > max_bandwidth*.75f ? LLColor4::yellow : text_color;
color[VALPHA] = text_color[VALPHA];
- text = llformat("BW:%.0f/%.0f",bandwidth, max_bandwidth);
+ text = llformat("BW:%.0f/%.0f",bandwidth.value(), max_bandwidth.value());
LLFontGL::getFontMonospace()->renderUTF8(text, 0, left, v_offset + line_height*2,
color, LLFontGL::LEFT, LLFontGL::TOP);