From 237bf40746acc28df28070ff7a1dc81c127eb0f6 Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Fri, 28 Apr 2006 05:28:30 +0000 Subject: Fix a warning on alpha --- Python/codecs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/codecs.c b/Python/codecs.c index 77eac8e..046abe3 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; -- cgit v0.12