diff options
author | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-12 03:23:05 (GMT) |
---|---|---|
committer | Yury Selivanov <yselivanov@sprymix.com> | 2015-05-12 03:23:05 (GMT) |
commit | df52e67d858301eb37776032ed0bb6d4e7b4a960 (patch) | |
tree | 3790c861a9542ab25cd78e810a59e9a286949a28 /Objects | |
parent | f487a005d6154e041054d41dbf16bb692af36af9 (diff) | |
download | cpython-df52e67d858301eb37776032ed0bb6d4e7b4a960.zip cpython-df52e67d858301eb37776032ed0bb6d4e7b4a960.tar.gz cpython-df52e67d858301eb37776032ed0bb6d4e7b4a960.tar.bz2 |
Fix warnings for gen_get_iter()
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/genobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/genobject.c b/Objects/genobject.c index 2a5a0d9..3c32e7b 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 |