summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS3
-rw-r--r--Objects/obmalloc.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 7dc9c04..f7a18c0 100644
--- 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
-------
diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c
index da8f9c2..b4ad60a 100644
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -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.