bullet wasnt building on 64bit linux

This commit is contained in:
Campbell Barton
2008-09-13 12:07:36 +00:00
parent ba9d3aa4ab
commit ce41cfa40a

View File

@@ -141,7 +141,7 @@ public:
}
void Process(const btDbvtNode* leaf)
{
int index = int(leaf->data);
int index = int(long(leaf->data));
btCompoundShape* compoundShape = static_cast<btCompoundShape*>(m_compoundColObj->getCollisionShape());
btCollisionShape* childShape = compoundShape->getChildShape(index);