summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLoren Shih <seraph@lindenlab.com>2010-06-03 14:56:33 -0400
committerLoren Shih <seraph@lindenlab.com>2010-06-03 14:56:33 -0400
commitcd6db16b6ab0c9c256caa328076c9c5a2d26af67 (patch)
tree99cf80f97f05c8134912d25d1bcefbeb5470468c
parent158e46969f955ef6fe87eeeae969b80c5f06aa36 (diff)
Added explicit cast to U32 for texture_timeout_threshold for Linux build.
-rw-r--r--indra/newview/lltexlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/lltexlayer.cpp b/indra/newview/lltexlayer.cpp
index 2c019aa6a4..fd2445cbda 100644
--- a/indra/newview/lltexlayer.cpp
+++ b/indra/newview/lltexlayer.cpp
@@ -326,7 +326,7 @@ BOOL LLTexLayerSetBuffer::isReadyToUpload() const
{
// The timeout period increases exponentially between every lowres upload in order to prevent
// spamming the server with frequent uploads.
- const U32 texture_timeout_threshold = texture_timeout*pow((F32)2.0,(F32)mNumLowresUploads);
+ const U32 texture_timeout_threshold = (U32)texture_timeout*pow((F32)2.0,(F32)mNumLowresUploads);
// If we hit our timeout and have textures available at even lower resolution, then upload.
const BOOL is_upload_textures_timeout = mNeedsUploadTimer.getElapsedTimeF32() >= texture_timeout_threshold;