diff options
author | Richard Linden <none@none> | 2013-08-19 10:20:55 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2013-08-19 10:20:55 -0700 |
commit | 08eb52c10ca1f916d937fe1927eb659f6d69a6d3 (patch) | |
tree | 98e7faecca7ded1dd8732dfef7c13abd424b858b /indra/newview/lltextureinfo.cpp | |
parent | 4290365ebbf5505bee4fbed8043996fa7687fd03 (diff) | |
parent | 612892b45a3413b16e40c49d3bfde77a4ca927fd (diff) |
merge
Diffstat (limited to 'indra/newview/lltextureinfo.cpp')
-rwxr-xr-x | indra/newview/lltextureinfo.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/lltextureinfo.cpp b/indra/newview/lltextureinfo.cpp index 6906f82c1c..59d692b287 100755 --- a/indra/newview/lltextureinfo.cpp +++ b/indra/newview/lltextureinfo.cpp @@ -40,7 +40,7 @@ LLTextureInfo::LLTextureInfo() : mLogTextureDownloadsToViewerLog(false), mLogTextureDownloadsToSimulator(false), mTextureDownloadProtocol("NONE"), - mTextureLogThreshold(LLUnits::Kibibytes::fromValue(100)) + mTextureLogThreshold(LLUnits::Kilobytes::fromValue(100)) { mTextures.clear(); mRecording.start(); @@ -95,7 +95,7 @@ void LLTextureInfo::setRequestStartTime(const LLUUID& id, U64 startTime) { addRequest(id); } - mTextures[id]->mStartTime = startTime; + mTextures[id]->mStartTime = (U64Microseconds)startTime; add(sTextureDownloadsStarted, 1); } @@ -105,7 +105,7 @@ void LLTextureInfo::setRequestSize(const LLUUID& id, U32 size) { addRequest(id); } - mTextures[id]->mSize = size; + mTextures[id]->mSize = (U32Bytes)size; } void LLTextureInfo::setRequestOffset(const LLUUID& id, U32 offset) @@ -194,7 +194,7 @@ LLSD LLTextureInfo::getAverages() LLSD averagedTextureData; S32 averageDownloadRate; U32Milliseconds download_time = mRecording.getSum(sTexureDownloadTime); - if(download_time == 0) + if(download_time == (U32Milliseconds)0) { averageDownloadRate = 0; } |