summaryrefslogtreecommitdiff
path: root/Objects/genobject.c
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-05-11 23:23:05 -0400
committerYury Selivanov <yselivanov@sprymix.com>2015-05-11 23:23:05 -0400
commitaacc604a144a97f9f7597f606a5f724aa82b9e3c (patch)
treeac5041f1ac22e31fb2d98a93047fc3096edb61af /Objects/genobject.c
parenteae221194a86e192c96afab97b373220997a4db8 (diff)
downloadcpython-aacc604a144a97f9f7597f606a5f724aa82b9e3c.tar.gz
Fix warnings for gen_get_iter()
Diffstat (limited to 'Objects/genobject.c')
-rw-r--r--Objects/genobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c
index 2a5a0d9c1c..3c32e7b978 100644
--- a/Objects/genobject.c
+++ b/Objects/genobject.c
@@ -531,7 +531,7 @@ gen_get_iter(PyGenObject *gen)
}
Py_INCREF(gen);
- return gen;
+ return (PyObject *)gen;
}
static int