From f7522873f998d59ae0099f505f0e7b3c28187742 Mon Sep 17 00:00:00 2001 From: "Erwin Coumans (Google)" Date: Thu, 1 Sep 2016 22:11:07 -0700 Subject: [PATCH] fix compile issue on Linux --- examples/pybullet/pybullet.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 75e4a02a5..8bc52cfbe 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -1148,7 +1148,7 @@ static PyObject* pybullet_getContactPointData(PyObject* self, PyObject* args) b3SetContactFilterBodyA(commandHandle,objectUniqueIdA); b3SetContactFilterBodyB(commandHandle,objectUniqueIdB); b3SubmitClientCommand(sm, commandHandle); - + int i; statusHandle = b3SubmitClientCommandAndWaitStatus(sm, commandHandle); statusType = b3GetStatusType(statusHandle); if (statusType==CMD_CONTACT_POINT_INFORMATION_COMPLETED) @@ -1170,7 +1170,7 @@ static PyObject* pybullet_getContactPointData(PyObject* self, PyObject* args) b3GetContactPointInformation(sm, &contactPointData); pyResultList = PyTuple_New(contactPointData.m_numContactPoints); - for (int i=0;i