Add a cast to make code compile with a C++ compiler.
This commit is contained in:
parent
24c274f5dc
commit
3109d62da6
|
@ -10,7 +10,7 @@
|
|||
static int
|
||||
gen_traverse(PyGenObject *gen, visitproc visit, void *arg)
|
||||
{
|
||||
Py_VISIT(gen->gi_frame);
|
||||
Py_VISIT((PyObject *)gen->gi_frame);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue