[Python-checkins] r45324 - python/trunk/Objects/genobject.c
anthony.baxter
python-checkins at python.org
Thu Apr 13 03:07:29 CEST 2006
Author: anthony.baxter
Date: Thu Apr 13 03:07:27 2006
New Revision: 45324
Modified:
python/trunk/Objects/genobject.c
Log:
Add a cast to make code compile with a C++ compiler.
Modified: python/trunk/Objects/genobject.c
==============================================================================
--- python/trunk/Objects/genobject.c (original)
+++ python/trunk/Objects/genobject.c Thu Apr 13 03:07:27 2006
@@ -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;
}
More information about the Python-checkins
mailing list