Fix various warnings when building in VC2022 (#6020)

This commit is contained in:
Jeffery Myers 2026-07-26 06:10:19 -07:00 • committed by GitHub
commit a18051fdd9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 47 additions and 47 deletions

View file

@ -119,7 +119,7 @@ static void DrawModelSkeleton(ModelSkeleton skeleton, ModelAnimPose pose, float
{
// Loop to (boneCount - 1) because the last one is a special "no bone" bone,
// needed to workaround buggy models without a -1, a cube is always drawn at the origin
for (int i = 0; i < skeleton.boneCount - 1; i++)
for (unsigned int i = 0; i < skeleton.boneCount - 1; i++)
{
// Display the frame-pose skeleton
DrawCube(pose[i].translation, scale*0.05f, scale*0.05f, scale*0.05f, color);