mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
merge 3.3 (#17228)
This commit is contained in:
commit
abe40c2528
2 changed files with 3 additions and 1 deletions
|
@ -1763,7 +1763,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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue