diff options
author | Benjamin Peterson <benjamin@python.org> | 2013-02-20 21:54:30 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2013-02-20 21:54:30 (GMT) |
commit | 2dba1ee3e62f613f8fbf85b997601789fc8f80d1 (patch) | |
tree | 8efba7f4af530f46cd800ba0a92ef1c41df71213 | |
parent | 795c10b3b60d14e5c10ba82fe4047aa54978fe93 (diff) | |
download | cpython-2dba1ee3e62f613f8fbf85b997601789fc8f80d1.zip cpython-2dba1ee3e62f613f8fbf85b997601789fc8f80d1.tar.gz cpython-2dba1ee3e62f613f8fbf85b997601789fc8f80d1.tar.bz2 |
fix building without pymalloc (closes #17228)
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rw-r--r-- | Objects/obmalloc.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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 6225ebb..50fc7c1 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; |