Kaydet (Commit) 3109d62d authored tarafından Anthony Baxter's avatar Anthony Baxter

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

üst 24c274f5
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
static int static int
gen_traverse(PyGenObject *gen, visitproc visit, void *arg) gen_traverse(PyGenObject *gen, visitproc visit, void *arg)
{ {
Py_VISIT(gen->gi_frame); Py_VISIT((PyObject *)gen->gi_frame);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment