[Python-checkins] cpython (3.3): fix building without pymalloc (closes #17228)
benjamin.peterson
python-checkins at python.org
Wed Feb 20 22:56:16 CET 2013
http://hg.python.org/cpython/rev/470350fd2831
changeset: 82282:470350fd2831
branch: 3.3
parent: 82280:9d00c79b27e1
user: Benjamin Peterson <benjamin at python.org>
date: Wed Feb 20 16:54:30 2013 -0500
summary:
fix building without pymalloc (closes #17228)
files:
Misc/NEWS | 2 ++
Objects/obmalloc.c | 2 +-
2 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -689,6 +689,8 @@
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
--- a/Objects/obmalloc.c
+++ b/Objects/obmalloc.c
@@ -1737,7 +1737,7 @@
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;
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list