fix building without pymalloc (closes #17228)

This commit is contained in:
Benjamin Peterson 2013-02-20 16:54:30 -05:00
parent 795c10b3b6
commit 2dba1ee3e6
2 changed files with 3 additions and 1 deletions

View File

@ -689,6 +689,8 @@ Tests
Build Build
----- -----
- Issue #17228: Fix building without pymalloc.
- Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac. - Issue #3718: Use AC_ARG_VAR to set MACHDEP in configure.ac.
- Issue #17031: Fix running regen in cross builds. - Issue #17031: Fix running regen in cross builds.

View File

@ -1737,7 +1737,7 @@ printone(FILE *out, 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;