Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c5ab747

Browse files
committed
More Python 3 fixes
1 parent 6e19dac commit c5ab747

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/_path_wrapper.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,8 @@ static PyObject *Py_update_path_extents(PyObject *self, PyObject *args, PyObject
180180
agg::trans_affine trans;
181181
agg::rect_d rect;
182182
numpy::array_view<double, 1> minpos;
183-
bool ignore;
184-
bool changed;
183+
int ignore;
184+
int changed;
185185

186186
if (!PyArg_ParseTuple(args,
187187
"O&O&O&O&i:update_path_extents",
@@ -466,7 +466,7 @@ static PyObject *Py_path_intersects_path(PyObject *self, PyObject *args, PyObjec
466466
{
467467
py::PathIterator p1;
468468
py::PathIterator p2;
469-
bool filled = false;
469+
int filled = 0;
470470
const char *names[] = { "p1", "p2", "filled", NULL };
471471
bool result;
472472

0 commit comments

Comments
 (0)