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: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=237bf40746acc28df28070ff7a1dc81c127eb0f6;p=thirdparty%2FPython%2Fcpython.git Fix a warning on alpha --- diff --git a/Python/codecs.c b/Python/codecs.c index 77eac8ef7d34..046abe35079a 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;