From: Benjamin Peterson Date: Wed, 20 Feb 2013 21:54:30 +0000 (-0500) Subject: fix building without pymalloc (closes #17228) X-Git-Tag: v3.3.1rc1~153 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2dba1ee3e62f613f8fbf85b997601789fc8f80d1;p=python fix building without pymalloc (closes #17228) --- diff --git a/Misc/NEWS b/Misc/NEWS index 915133c986..1d4969da2b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -689,6 +689,8 @@ Tests Build ----- +- Issue #17228: Fix building without pymalloc. + - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac. - Issue #17031: Fix running regen in cross builds. diff --git a/Objects/obmalloc.c b/Objects/obmalloc.c index 6225ebbbf1..50fc7c155d 100644 --- a/Objects/obmalloc.c +++ b/Objects/obmalloc.c @@ -1737,7 +1737,7 @@ printone(FILE *out, 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;