From: Benjamin Peterson Date: Wed, 20 Feb 2013 21:54:30 +0000 (-0500) Subject: fix building without pymalloc (closes #17228) X-Git-Tag: v2.7.4rc1~97 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8e830a06643384d0c33432207585e5b0702d18a5;p=thirdparty%2FPython%2Fcpython.git fix building without pymalloc (closes #17228) --- diff --git a/Misc/NEWS b/Misc/NEWS index d03d7c638ae9..2c88b61201df 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -853,6 +853,8 @@ Tests Build ----- +- Issue #17228: Fix building without pymalloc. + - Issue #17086: Backport the patches from the 3.3 branch to cross-build the package. diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 483847cad25d..38ebc3782d34 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -1713,7 +1713,7 @@ printone(const char* msg, size_t value) k = 3; do { size_t nextvalue = value / 10; - uint digit = (uint)(value - nextvalue * 10); + unsigned int digit = (unsigned int)(value - nextvalue * 10); value = nextvalue; buf[i--] = (char)(digit + '0'); --k;