From 29cfac096b99387a2fb61f0b23be994f6cdd2902 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 28 Dec 2017 12:57:49 -0800 Subject: [PATCH] compile fix in pybullet.c --- examples/pybullet/pybullet.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/pybullet/pybullet.c b/examples/pybullet/pybullet.c index 8e5370594..47aeee8a1 100644 --- a/examples/pybullet/pybullet.c +++ b/examples/pybullet/pybullet.c @@ -358,9 +358,10 @@ static PyObject* pybullet_connectPhysicsServer(PyObject* self, PyObject* args, P char** argv=0; if (options) { + int i; argv = urdfStrSplit(options, " "); argc = urdfStrArrayLen(argv); - for (int i = 0; i < argc; i++) + for (i = 0; i < argc; i++) { printf("argv[%d]=%s\n", i, argv[i]); }