summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-08-09 15:43:06 -0700
committerBrad Linden <brad@lindenlab.com>2024-08-09 15:43:06 -0700
commitc106221726c48a4231b7854bff224ae422c0517f (patch)
treef0608f7f72f23a447778f8bce6f210eb221ebdf1 /indra/newview/llappearancemgr.cpp
parentcf160e30236226fdd3343a7ba50d05265709718d (diff)
parent3b2c32fdf940b37108e13eb69fcf0468469dc182 (diff)
Merge remote-tracking branch 'origin/release/2024.06-atlasaurus' into develop
# Conflicts: # .github/workflows/build.yaml # indra/llui/llscrolllistctrl.cpp
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index a808c196c7..66082d317a 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -2133,11 +2133,11 @@ void LLAppearanceMgr::filterWearableItems(
items.clear();
for (S32 i=0; i<LLWearableType::WT_COUNT; i++)
{
- auto size = items_by_type[i].size();
+ S32 size = (S32)items_by_type[i].size();
if (size <= 0)
continue;
- auto start_index = llmax(0,size-max_per_type);
- for (size_t j = start_index; j<size; j++)
+ S32 start_index = llmax(0,size-max_per_type);
+ for (S32 j = start_index; j<size; j++)
{
items.push_back(items_by_type[i][j]);
}