summaryrefslogtreecommitdiffstats
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-04-28 05:28:30 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-04-28 05:28:30 (GMT)
commit237bf40746acc28df28070ff7a1dc81c127eb0f6 (patch)
treed47a276ef4b77b015a548b592ca3d0c7d67a9ced /Python/codecs.c
parent82d4cc27c6b14fd6460c87d66db22e7925b04051 (diff)
downloadcpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.zip
cpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.tar.gz
cpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.tar.bz2
Fix a warning on alpha
Diffstat (limited to 'Python/codecs.c')
-rw-r--r--Python/codecs.c2
1 files changed, 1 insertions, 1 deletions
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;