diff Objects/methodobject.c @ 11673:5e6e9e893acd legacy-trunk

The rest of the changes by Trent Mick and Dale Nagata for warning-free compilation on NT Alpha. Mostly added casts etc.
author Guido van Rossum <guido@python.org>
date Thu, 20 Jan 2000 22:32:56 +0000
parents 2aafcee220bc
children 1c7c2dd1beb1
line wrap: on
line diff
--- a/Objects/methodobject.c	Thu Jan 20 21:37:19 2000 +0000
+++ b/Objects/methodobject.c	Thu Jan 20 22:32:56 2000 +0000
@@ -47,7 +47,7 @@
 	if (op != NULL) {
 		free_list = (PyCFunctionObject *)(op->m_self);
 		op->ob_type = &PyCFunction_Type;
-		_Py_NewReference(op);
+		_Py_NewReference((PyObject *)op);
 	}
 	else {
 		op = PyObject_NEW(PyCFunctionObject, &PyCFunction_Type);