]> granicus.if.org Git - python/commitdiff
fix building without pymalloc (closes #17228)
authorBenjamin Peterson <benjamin@python.org>
Wed, 20 Feb 2013 21:54:30 +0000 (16:54 -0500)
committerBenjamin Peterson <benjamin@python.org>
Wed, 20 Feb 2013 21:54:30 +0000 (16:54 -0500)
Misc/NEWS
Objects/obmalloc.c

index 915133c9863ef8ac192544eef74700765d1650f7..1d4969da2b6554eca083f42e2352064a9d5c3977 100644 (file)
--- 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.
index 6225ebbbf132429b33597a763a387f8336c1c242..50fc7c155d4636bbed583f4a751269c48cf860bf 100644 (file)
@@ -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;