[Scummvm-git-logs] scummvm master -> 8dcfba8e59535a866366cf8a016b9b3d31de255f
grisenti
noreply at scummvm.org
Thu Oct 19 13:38:30 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:
8dcfba8e59 HPL1: Fix warnings
Commit: 8dcfba8e59535a866366cf8a016b9b3d31de255f
https://github.com/scummvm/scummvm/commit/8dcfba8e59535a866366cf8a016b9b3d31de255f
Author: grisenti (emanuele at grisenti.net)
Date: 2023-10-19T15:37:31+02:00
Commit Message:
HPL1: Fix warnings
Changed paths:
engines/hpl1/engine/libraries/newton/physics/dgCollisionCompound.cpp
diff --git a/engines/hpl1/engine/libraries/newton/physics/dgCollisionCompound.cpp b/engines/hpl1/engine/libraries/newton/physics/dgCollisionCompound.cpp
index 4ca7e0917d3..869c1c6c4c1 100644
--- a/engines/hpl1/engine/libraries/newton/physics/dgCollisionCompound.cpp
+++ b/engines/hpl1/engine/libraries/newton/physics/dgCollisionCompound.cpp
@@ -1822,13 +1822,13 @@ dgInt32 dgCollisionCompound::CalculateContactsToCollisionTree(
stackPool[stack].m_treeNode = other;
stackPool[stack].m_treeNodeIsLeaf = 1;
stack++;
- NEWTON_ASSERT(stack < dgInt32(sizeof(stackPool) / sizeof(dgNodeBase *)));
+ NEWTON_ASSERT(stack < dgInt32(sizeof(stackPool) / (sizeof(dgNodeBase *))));
stackPool[stack].m_myNode = me->m_right;
stackPool[stack].m_treeNode = other;
stackPool[stack].m_treeNodeIsLeaf = 1;
stack++;
- NEWTON_ASSERT(stack < dgInt32(sizeof(stackPool) / sizeof(dgNodeBase *)));
+ NEWTON_ASSERT(stack < dgInt32(sizeof(stackPool) / (sizeof(dgNodeBase *))));
} else if (nodeProxi.m_area > me->m_area) {
NEWTON_ASSERT(me->m_type == m_node);
More information about the Scummvm-git-logs
mailing list