Skip to content

Commit

Permalink
-Wsign-compare の警告箇所を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Raclamusi committed Feb 1, 2024
1 parent b5844e4 commit 9f3498a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Siv3D/src/Siv3D/Renderer2D/Vertex2DBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ namespace s3d
}

{
const auto midIndex = (vertexSize >> 1);
const size_t midIndex = (vertexSize >> 1);

pVertex[0].color = startColor;
pVertex[vertexSize - 1].color = endColor;
Expand Down

0 comments on commit 9f3498a

Please sign in to comment.