summaryrefslogtreecommitdiff
path: root/indra
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
commitb87397938345b7dce30c3f10a4e54d9e0434b217 (patch)
tree6abbc48c14402ee42cd774476249bd0b661b37b9 /indra
parent2192316803564b41a28d56481985597eb5d94fad (diff)
Fix for compile issue
Diffstat (limited to 'indra')
-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();