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
parent ac06acbaee
commit a18051fdd9
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);