Remove casts to PyObject * when declaration is for PyObject *
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index b334f9d..fd8a076 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -355,7 +355,7 @@
 		else {
 			if ((clear = op->ob_type->tp_clear) != NULL) {
 				Py_INCREF(op);
-				clear((PyObject *)op);
+				clear(op);
 				Py_DECREF(op);
 			}
 		}
@@ -879,7 +879,7 @@
 #ifdef WITH_CYCLE_GC
 	PyGC_Head *g = PyObject_MALLOC(sizeof(PyGC_Head) + basicsize);
 	if (g == NULL)
-		return (PyObject *)PyErr_NoMemory();
+		return PyErr_NoMemory();
 	g->gc.gc_next = NULL;
 	generations[0].count++; /* number of allocated GC objects */
  	if (generations[0].count > generations[0].threshold &&
@@ -895,7 +895,7 @@
 #else
 	op = PyObject_MALLOC(basicsize);
 	if (op == NULL)
-		return (PyObject *)PyErr_NoMemory();
+		return PyErr_NoMemory();
 
 #endif
 	return op;