]> granicus.if.org Git - python/commitdiff
Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes...
authorChristian Heimes <christian@cheimes.de>
Fri, 22 Aug 2008 19:34:15 +0000 (19:34 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 22 Aug 2008 19:34:15 +0000 (19:34 +0000)
Misc/NEWS
Objects/obmalloc.c

index 7dc9c0497e3cc06c0e0d87c59b5f821f76c2a39c..f7a18c0b2c5cc1ddbc795aeff16c58ec0d14de83 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.6 release candidate 1?
 Core and Builtins
 -----------------
 
+- Issue #3642: Changed type of numarenas from uint to size_t
+  in order to silence a compilier warning on 64bit OSes.
+
 Library
 -------
 
index da8f9c2d37af1277057300aa948ed27e7a813906..b4ad60a86565b50a2780b6063f019ba5c597f31d 100644 (file)
@@ -517,7 +517,7 @@ new_arena(void)
 #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.