diff Objects/obmalloc.c @ 48824:afbfd8f214dd legacy-trunk

Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
author Christian Heimes <christian@cheimes.de>
date Fri, 22 Aug 2008 19:34:15 +0000
parents 5d3833e6aae3
children 3dc31809631f
line wrap: on
line diff
--- a/Objects/obmalloc.c	Fri Aug 22 08:03:43 2008 +0000
+++ b/Objects/obmalloc.c	Fri Aug 22 19:34:15 2008 +0000
@@ -517,7 +517,7 @@
 #endif
 	if (unused_arena_objects == NULL) {
 		uint i;
-		uint numarenas;
+		size_t numarenas;
 		size_t nbytes;
 
 		/* Double the number of arena objects on each allocation.