summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2008-08-22 19:34:15 (GMT)
committerChristian Heimes <christian@cheimes.de>2008-08-22 19:34:15 (GMT)
commitfb1813cb8d44e7069444f957d21bd460ddc234ab (patch)
treed93470f400138b6793f77521efbd901d0870c71d /Objects
parentaf1aae3aa6ea11b39a9fe24ddcaf9caaa537261b (diff)
downloadcpython-fb1813cb8d44e7069444f957d21bd460ddc234ab.zip
cpython-fb1813cb8d44e7069444f957d21bd460ddc234ab.tar.gz
cpython-fb1813cb8d44e7069444f957d21bd460ddc234ab.tar.bz2
Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/obmalloc.c2
1 files changed, 1 insertions, 1 deletions
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.