From: Neal Norwitz Date: Fri, 28 Apr 2006 05:28:30 +0000 (+0000) Subject: Fix a warning on alpha X-Git-Tag: v2.5b1~780 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=237bf40746acc28df28070ff7a1dc81c127eb0f6;p=python Fix a warning on alpha --- diff --git a/Python/codecs.c b/Python/codecs.c index 77eac8ef7d..046abe3507 100644 --- a/Python/codecs.c +++ b/Python/codecs.c @@ -70,7 +70,7 @@ PyObject *normalizestring(const char *string) if (ch == ' ') ch = '-'; else - ch = tolower(ch); + ch = tolower(Py_CHARMASK(ch)); p[i] = ch; } return v;