[Scummvm-git-logs] scummvm master -> 6f10d3c91c7188bd671be6e67e336b6097baef04
digitall
noreply at scummvm.org
Tue Feb 21 00:45:56 UTC 2023
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
6f10d3c91c HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: 6f10d3c91c7188bd671be6e67e336b6097baef04
https://github.com/scummvm/scummvm/commit/6f10d3c91c7188bd671be6e67e336b6097baef04
Author: D G Turner (digitall at scummvm.org)
Date: 2023-02-21T00:45:26Z
Commit Message:
HPL1: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/hpl1/engine/libraries/newton/core/dgPolyhedra.cpp
diff --git a/engines/hpl1/engine/libraries/newton/core/dgPolyhedra.cpp b/engines/hpl1/engine/libraries/newton/core/dgPolyhedra.cpp
index 926d9203512..1ae4ea8b483 100644
--- a/engines/hpl1/engine/libraries/newton/core/dgPolyhedra.cpp
+++ b/engines/hpl1/engine/libraries/newton/core/dgPolyhedra.cpp
@@ -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;
More information about the Scummvm-git-logs
mailing list