summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorTJ <tj8@live.com.au>2024-09-05 02:42:01 +1000
committerGitHub <noreply@github.com>2024-09-04 19:42:01 +0300
commitc2724537adab9d31c23d33e36002772a9c56f4c3 (patch)
treea9c1c711971c1c0a300196dc106455410545cb78 /indra/newview
parentbd266a4a8605891a75c9a4efc783e8006e6b2fab (diff)
Fixed missing comma in list. Fixed loop with too small loop variable. (#2497)
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfloaterimagepreview.cpp2
-rw-r--r--indra/newview/llviewerfloaterreg.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfloaterimagepreview.cpp b/indra/newview/llfloaterimagepreview.cpp
index a900e04707..711c33e73d 100644
--- a/indra/newview/llfloaterimagepreview.cpp
+++ b/indra/newview/llfloaterimagepreview.cpp
@@ -852,7 +852,7 @@ void LLImagePreviewSculpted::setPreviewTarget(LLImageRaw* imagep, F32 distance)
}
// build indices
- for (U16 i = 0; i < num_indices; i++)
+ for (U32 i = 0; i < num_indices; i++)
{
*(index_strider++) = vf.mIndices[i];
}
diff --git a/indra/newview/llviewerfloaterreg.cpp b/indra/newview/llviewerfloaterreg.cpp
index 9bdd246129..ef68609182 100644
--- a/indra/newview/llviewerfloaterreg.cpp
+++ b/indra/newview/llviewerfloaterreg.cpp
@@ -242,7 +242,7 @@ public:
"avatar_picker",
"camera",
"camera_presets",
- "change_item_thumbnail"
+ "change_item_thumbnail",
"classified",
"add_landmark",
"delete_pref_preset",