HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warning

This commit is contained in:
D G Turner 2023-02-21 00:45:26 +00:00
parent 489ed90d10
commit 6f10d3c91c

View File

@ -2621,7 +2621,7 @@ void dgPolyhedra::Optimize(const dgFloat64 *const array, dgInt32 strideInBytes,
&heapPool[0], heapPool.GetSizeInBytes());
NormalizeVertex(maxVertexIndex, &vertexPool[0], array, stride);
for (uint i = 0; i < maxVertexIndex; i++) vertexMetrics[i].Clear();
for (int i = 0; i < maxVertexIndex; i++) vertexMetrics[i].Clear();
CalculateAllMetrics(this, &vertexMetrics[0], &vertexPool[0]);
dgFloat64 tol2 = tol * tol;