diff options
Diffstat (limited to 'Objects/unicodeobject.c')
-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 e2f1ed323d..3cf7fa65d2 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -974,7 +974,7 @@ PyObject *PyUnicode_DecodeUTF7(const char *s, while (s < e) { Py_UNICODE ch; restart: - ch = *s; + ch = (unsigned char) *s; if (inShift) { if ((ch == '-') || !B64CHAR(ch)) { |