HPL1: Further Fixes for GCC Compiler Warnings

This commit is contained in:
D G Turner 2023-02-21 14:46:38 +00:00
parent 1f28db110a
commit bf8dc3a2ce
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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) {