Commit 8e830a06 authored by Benjamin Peterson's avatar Benjamin Peterson

fix building without pymalloc (closes #17228)

parent fffc479f
...@@ -853,6 +853,8 @@ Tests ...@@ -853,6 +853,8 @@ Tests
Build Build
----- -----
- Issue #17228: Fix building without pymalloc.
- Issue #17086: Backport the patches from the 3.3 branch to cross-build - Issue #17086: Backport the patches from the 3.3 branch to cross-build
the package. the package.
......
...@@ -1713,7 +1713,7 @@ printone(const char* msg, size_t value) ...@@ -1713,7 +1713,7 @@ printone(const char* msg, size_t value)
k = 3; k = 3;
do { do {
size_t nextvalue = value / 10; size_t nextvalue = value / 10;
uint digit = (uint)(value - nextvalue * 10); unsigned int digit = (unsigned int)(value - nextvalue * 10);
value = nextvalue; value = nextvalue;
buf[i--] = (char)(digit + '0'); buf[i--] = (char)(digit + '0');
--k; --k;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment