summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2024-08-27 16:27:34 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2024-08-27 16:27:34 +0300
commit27ce2a23a286709c90579db31c2551e0c3f292e7 (patch)
treee79d4f065c1d47ce9e9bbd2f2f20d089c7c9027c /indra/llcommon
parent2142a4590ab1973a22e2db3aeccfe4d9e616471f (diff)
code clean up
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llassettype.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/llcommon/llassettype.cpp b/indra/llcommon/llassettype.cpp
index 1c0893b1bf..00c61c6e0a 100644
--- a/indra/llcommon/llassettype.cpp
+++ b/indra/llcommon/llassettype.cpp
@@ -250,9 +250,9 @@ LLSD LLAssetType::getTypeNames()
{
LLSD type_names;
const LLAssetDictionary *dict = LLAssetDictionary::getInstance();
- for (S32 type = AT_TEXTURE; type < AT_COUNT; ++type)
+ for (S32 type = 0; type < AT_COUNT; ++type)
{
- const AssetEntry *entry = dict->lookup((LLAssetType::EType) type);
+ const AssetEntry *entry = dict->lookup(LLAssetType::EType(type));
// skip llassettype_bad_lookup
if (entry)
{