summaryrefslogtreecommitdiff
path: root/indra/newview/llfloaterimagepreview.cpp
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/llfloaterimagepreview.cpp
parentbd266a4a8605891a75c9a4efc783e8006e6b2fab (diff)
Fixed missing comma in list. Fixed loop with too small loop variable. (#2497)
Diffstat (limited to 'indra/newview/llfloaterimagepreview.cpp')
-rw-r--r--indra/newview/llfloaterimagepreview.cpp2
1 files changed, 1 insertions, 1 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];
}