Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov)
diff --git a/Objects/frameobject.c b/Objects/frameobject.c
index 295b613..03f54dd 100644
--- a/Objects/frameobject.c
+++ b/Objects/frameobject.c
@@ -182,8 +182,9 @@
f = free_list;
free_list = free_list->f_back;
if (f->f_nlocals + f->f_stacksize < extras) {
- f = realloc(f, sizeof(PyFrameObject) +
- extras*sizeof(PyObject *));
+ f = (PyFrameObject *)
+ realloc(f, sizeof(PyFrameObject) +
+ extras*sizeof(PyObject *));
if (f == NULL)
return (PyFrameObject *)PyErr_NoMemory();
}