[Scummvm-git-logs] scummvm master -> bf8dc3a2ce6def3b8f5bb5c174d7e18dca61871a

digitall noreply at scummvm.org
Tue Feb 21 14:47:19 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:
bf8dc3a2ce HPL1: Further Fixes for GCC Compiler Warnings


Commit: bf8dc3a2ce6def3b8f5bb5c174d7e18dca61871a
    https://github.com/scummvm/scummvm/commit/bf8dc3a2ce6def3b8f5bb5c174d7e18dca61871a
Author: D G Turner (digitall at scummvm.org)
Date: 2023-02-21T14:46:38Z

Commit Message:
HPL1: Further Fixes for GCC Compiler Warnings

Changed paths:
    engines/hpl1/engine/libraries/newton/physics/dgContact.cpp
    engines/hpl1/engine/libraries/newton/physics/dgContact.h


diff --git a/engines/hpl1/engine/libraries/newton/physics/dgContact.cpp b/engines/hpl1/engine/libraries/newton/physics/dgContact.cpp
index 901684cb361..a3d5639a042 100644
--- a/engines/hpl1/engine/libraries/newton/physics/dgContact.cpp
+++ b/engines/hpl1/engine/libraries/newton/physics/dgContact.cpp
@@ -83,7 +83,7 @@ void dgContact::GetInfo(dgConstraintInfo *const info) const {
 	info->clear();
 	InitInfo(info);
 	info->m_collideCollisionOn = GetCount();
-	strncpy(info->m_discriptionType, "contact", 7);
+	strncpy(info->m_discriptionType, "contact", 8);
 }
 
 void dgContact::CalculatePointDerivative(dgInt32 index,
diff --git a/engines/hpl1/engine/libraries/newton/physics/dgContact.h b/engines/hpl1/engine/libraries/newton/physics/dgContact.h
index 87fad354373..f6dba388322 100644
--- a/engines/hpl1/engine/libraries/newton/physics/dgContact.h
+++ b/engines/hpl1/engine/libraries/newton/physics/dgContact.h
@@ -120,8 +120,8 @@ public:
 	const dgMatrix *m_localMatrixInv;
 	const dgPolygonMeshDesc *m_polyMeshData;
 
-	dgInt32 m_isTriggerVolume : 1;
-	dgInt32 m_inTriggerVolume : 1;
+	dgUnsigned32 m_isTriggerVolume : 1;
+	dgUnsigned32 m_inTriggerVolume : 1;
 
 
 	dgCollisionParamProxy(dgInt32 threadIndex) {




More information about the Scummvm-git-logs mailing list