Skip to content

Commit

Permalink
Predicate is parsed to an int not bool
Browse files Browse the repository at this point in the history
  • Loading branch information
dhood committed Aug 3, 2018
1 parent cf38ae7 commit 6ac5bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rclpy/src/rclpy/_rclpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -3304,7 +3304,7 @@ static PyObject *
rclpy_clock_set_ros_time_override_is_enabled(PyObject * Py_UNUSED(self), PyObject * args)
{
PyObject * pyclock;
bool enabled;
int enabled;
if (!PyArg_ParseTuple(args, "Op", &pyclock, &enabled)) {
return NULL;
}
Expand Down

0 comments on commit 6ac5bf9

Please sign in to comment.