Keep gcc -Wall happy.

This commit is contained in:
Guido van Rossum 1996-12-05 23:27:02 +00:00
parent ed0af8fe70
commit 80bb9655f0
6 changed files with 38 additions and 28 deletions

View file

@ -112,7 +112,7 @@ int base;
}
/* do the conversion */
while (c = Py_CHARMASK(*str))
while ((c = Py_CHARMASK(*str)) != '\0')
{
if (isdigit(c) && c - '0' < base)
c -= '0';