]> granicus.if.org Git - python/commitdiff
Merged revisions 65975 via svnmerge from
authorChristian Heimes <christian@cheimes.de>
Fri, 22 Aug 2008 19:38:45 +0000 (19:38 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 22 Aug 2008 19:38:45 +0000 (19:38 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r65975 | christian.heimes | 2008-08-22 21:34:15 +0200 (Fri, 22 Aug 2008) | 1 line

  Changed type of numarenas from uint to size_t to silence a GCC warning on 64bit OSes. Reviewed by Benjamin Peterson.
........

Objects/obmalloc.c

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.