summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorDon Kjer <don@lindenlab.com>2010-12-16 02:06:39 -0800
committerDon Kjer <don@lindenlab.com>2010-12-16 02:06:39 -0800
commit3aa8a883ebf5865045afb3b1577e1cfcaa6b9045 (patch)
tree0eda493abcd1e162e8dacb586e673967d2136315 /indra/newview
parent3b683f27b2a0bc7e69effac1ce31a121b787f46e (diff)
Fix for compile issue
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llvocache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvocache.cpp b/indra/newview/llvocache.cpp
index 10744991f4..040139f3ab 100644
--- a/indra/newview/llvocache.cpp
+++ b/indra/newview/llvocache.cpp
@@ -594,7 +594,7 @@ void LLVOCache::readFromCache(U64 handle, const LLUUID& id, LLVOCacheEntry::voca
void LLVOCache::purgeEntries()
{
U32 limit = mCacheSize / ENTRIES_PURGE_FACTOR;
- limit = llclamp(limit, 1, mCacheSize);
+ limit = llclamp(limit, (U32)1, mCacheSize);
// Construct a vector of entries out of the map so we can sort by time.
std::vector<HeaderEntryInfo*> header_vector;
handle_entry_map_t::iterator iter_end = mHandleEntryMap.end();