[Python-checkins] CVS: python/dist/src/Modules arraymodule.c,2.36,2.37
Guido van Rossum
guido@cnri.reston.va.us
Thu, 20 Jan 2000 17:33:26 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Modules
In directory eric:/tmp/python/dist/src/Modules
Modified Files:
arraymodule.c
Log Message:
The rest of the changes by Trent Mick and Dale Nagata for warning-free
compilation on NT Alpha. Mostly added casts etc.
Index: arraymodule.c
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Modules/arraymodule.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** arraymodule.c 1999/12/03 17:15:30 2.36
--- arraymodule.c 2000/01/20 22:32:53 2.37
***************
*** 364,368 ****
op->ob_size = size;
op->ob_descr = descr;
! _Py_NewReference(op);
return (PyObject *) op;
}
--- 364,368 ----
op->ob_size = size;
op->ob_descr = descr;
! _Py_NewReference((PyObject *)op);
return (PyObject *) op;
}