summaryrefslogtreecommitdiff
path: root/indra/newview/gltf/animation.cpp
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-06-11 16:03:30 -0700
committerBrad Linden <brad@lindenlab.com>2024-06-11 17:42:17 -0700
commit9775d7ea10ff87d913b1ba361a9204f961cd9c3f (patch)
tree949da961836c451557c809469e4a1ffe4e540b3b /indra/newview/gltf/animation.cpp
parenta7b0f9391146b42dd5cd5f47f845de81bfdb6820 (diff)
parent0870539264f7263ed17464413ee0b69058d511f6 (diff)
Merge remote-tracking branch 'origin/release/maint-a' into project/gltf_development
Diffstat (limited to 'indra/newview/gltf/animation.cpp')
-rw-r--r--indra/newview/gltf/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/gltf/animation.cpp b/indra/newview/gltf/animation.cpp
index 8f53c28539..8b85eba3e5 100644
--- a/indra/newview/gltf/animation.cpp
+++ b/indra/newview/gltf/animation.cpp
@@ -198,7 +198,7 @@ void Animation::Sampler::getFrameInfo(Asset& asset, F32 time, U32& frameIndex, F
return;
}
- for (U32 i = 0; i < mFrameTimes.size() - 1; i++)
+ for (U32 i = 0; i < (U32)mFrameTimes.size() - 1; i++)
{
if (time >= mFrameTimes[i] && time < mFrameTimes[i + 1])
{