diff options
author | Guido van Rossum <guido@python.org> | 2000-04-05 21:29:50 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-04-05 21:29:50 (GMT) |
commit | 34888ed689f7e937cb784197002aee5ce335a6fa (patch) | |
tree | 56a15459e72ead432c2081afc3978cb8fd5b49c0 | |
parent | 9e896b37c7a554250d7d832566cc4fe7d30d034c (diff) | |
download | cpython-34888ed689f7e937cb784197002aee5ce335a6fa.zip cpython-34888ed689f7e937cb784197002aee5ce335a6fa.tar.gz cpython-34888ed689f7e937cb784197002aee5ce335a6fa.tar.bz2 |
Fredrik Lundh: eliminate a MSVC compiler warning.
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index e751bc4..b876f34 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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 */ |