type_new(): cast PyObject_MALLOC's result to char*, for clarity.
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index e8f436c..fae159c 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -909,7 +909,7 @@
PyObject *doc = PyDict_GetItemString(dict, "__doc__");
if (doc != NULL && PyString_Check(doc)) {
const size_t n = (size_t)PyString_GET_SIZE(doc);
- type->tp_doc = PyObject_MALLOC(n+1);
+ type->tp_doc = (char *)PyObject_MALLOC(n+1);
if (type->tp_doc == NULL) {
Py_DECREF(type);
return NULL;