mirror of https://github.com/python/cpython
fix building without pymalloc (closes #17228)
This commit is contained in:
parent
fffc479f15
commit
8e830a0664
|
@ -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.
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue