commit | 34888ed689f7e937cb784197002aee5ce335a6fa | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Apr 05 21:29:50 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Apr 05 21:29:50 2000 +0000 |
tree | 56a15459e72ead432c2081afc3978cb8fd5b49c0 | |
parent | 9e896b37c7a554250d7d832566cc4fe7d30d034c [diff] [blame] |
Fredrik Lundh: eliminate a MSVC compiler warning.
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 @@ continue; } if (0 < ch < 256) { - *output++ = ch; + *output++ = (char) ch; continue; } /* All other characters are considered invalid */