A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-checkins/2000-September/013485.html below:

[Python-checkins] CVS: python/dist/src/Objects tupleobject.c,2.45,2.46

[Python-checkins] CVS: python/dist/src/Objects tupleobject.c,2.45,2.46Martin v. Löwis python-dev@python.org
Fri, 15 Sep 2000 00:32:42 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv9179

Modified Files:
	tupleobject.c 
Log Message:
Correctly cast the return value of realloc.


Index: tupleobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/tupleobject.c,v
retrieving revision 2.45
retrieving revision 2.46
diff -C2 -r2.45 -r2.46
*** tupleobject.c	2000/09/15 07:07:46	2.45
--- tupleobject.c	2000/09/15 07:32:39	2.46
***************
*** 504,508 ****
  		PyGC_Head *g = PyObject_AS_GC((PyObject *)v);
  		PyObject_GC_Fini((PyObject *)v);
! 		g = (PyTupleObject *)
  			PyObject_REALLOC((char *)g, sizeof(PyTupleObject) 
  					+ PyGC_HEAD_SIZE
--- 504,508 ----
  		PyGC_Head *g = PyObject_AS_GC((PyObject *)v);
  		PyObject_GC_Fini((PyObject *)v);
! 		g = (PyGC_Head *)
  			PyObject_REALLOC((char *)g, sizeof(PyTupleObject) 
  					+ PyGC_HEAD_SIZE




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4