adjust declaration

This commit is contained in:
Benjamin Peterson 2012-01-29 20:13:18 -05:00
parent 1334884ff2
commit e28108cbd7

View file

@ -2347,7 +2347,8 @@ static short slotoffsets[] = {
#include "typeslots.inc" #include "typeslots.inc"
}; };
PyObject* PyType_FromSpec(PyType_Spec *spec) PyObject *
PyType_FromSpec(PyType_Spec *spec)
{ {
PyHeapTypeObject *res = (PyHeapTypeObject*)PyType_GenericAlloc(&PyType_Type, 0); PyHeapTypeObject *res = (PyHeapTypeObject*)PyType_GenericAlloc(&PyType_Type, 0);
char *res_start = (char*)res; char *res_start = (char*)res;