Fix warnings for gen_get_iter()

This commit is contained in:
Yury Selivanov 2015-05-11 23:23:05 -04:00
parent f487a005d6
commit df52e67d85
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ gen_get_iter(PyGenObject *gen)
}
Py_INCREF(gen);
return gen;
return (PyObject *)gen;
}
static int