mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Add a cast to make code compile with a C++ compiler.
This commit is contained in:
parent
24c274f5dc
commit
3109d62da6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue