Fredrik Lundh: eliminate a MSVC compiler warning.

This commit is contained in:
Guido van Rossum 2000-04-05 21:29:50 +00:00
parent 9e896b37c7
commit 34888ed689
1 changed files with 1 additions and 1 deletions

View File

@ -1959,7 +1959,7 @@ int PyUnicode_EncodeDecimal(Py_UNICODE *s,
continue;
}
if (0 < ch < 256) {
*output++ = ch;
*output++ = (char) ch;
continue;
}
/* All other characters are considered invalid */