diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:30 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:30 +0000 |
commit | 237bf40746acc28df28070ff7a1dc81c127eb0f6 (patch) | |
tree | d47a276ef4b77b015a548b592ca3d0c7d67a9ced /Python/codecs.c | |
parent | 82d4cc27c6b14fd6460c87d66db22e7925b04051 (diff) | |
download | cpython-git-237bf40746acc28df28070ff7a1dc81c127eb0f6.tar.gz |
Fix a warning on alpha
Diffstat (limited to 'Python/codecs.c')
-rw-r--r-- | Python/codecs.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |