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 | 8e830a06643384d0c33432207585e5b0702d18a5 (patch) | |
tree | e26b648425023eb04437ea7800ad496d29365072 | |
parent | fffc479f15636d4f6afb297f4f8fb0016cd162a6 (diff) | |
download | cpython-8e830a06643384d0c33432207585e5b0702d18a5.zip cpython-8e830a06643384d0c33432207585e5b0702d18a5.tar.gz cpython-8e830a06643384d0c33432207585e5b0702d18a5.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
@@ -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 483847c..38ebc37 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; |