Add a cast to make code compile with a C++ compiler.

This commit is contained in:
Anthony Baxter 2006-04-13 01:07:27 +00:00
parent 24c274f5dc
commit 3109d62da6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}