From ce41cfa40a1c5db8b8091f64ab0d6f3b5d116cde Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Sep 2008 12:07:36 +0000 Subject: bullet wasnt building on 64bit linux --- .../BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern') diff --git a/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp b/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp index da9336c55c7..57812818007 100644 --- a/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp +++ b/extern/bullet2/src/BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp @@ -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(m_compoundColObj->getCollisionShape()); btCollisionShape* childShape = compoundShape->getChildShape(index); -- cgit v1.2.3