[Python-checkins] r45271 - python/trunk/Objects/obmalloc.c

neal.norwitz python-checkins at python.org
Tue Apr 11 09:58:55 CEST 2006


Author: neal.norwitz
Date: Tue Apr 11 09:58:54 2006
New Revision: 45271

Modified:
   python/trunk/Objects/obmalloc.c
Log:
Get compiling again

Modified: python/trunk/Objects/obmalloc.c
==============================================================================
--- python/trunk/Objects/obmalloc.c	(original)
+++ python/trunk/Objects/obmalloc.c	Tue Apr 11 09:58:54 2006
@@ -529,7 +529,7 @@
 		nbytes = numarenas * sizeof(*arenas);
 		if (nbytes / sizeof(*arenas) != numarenas)
 			return NULL;	/* overflow */
-		arenaobj = (arena_object *)realloc(arenas, nbytes);
+		arenaobj = (struct arena_object *)realloc(arenas, nbytes);
 		if (arenaobj == NULL)
 			return NULL;
 		arenas = arenaobj;


More information about the Python-checkins mailing list