diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:30 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-28 05:28:30 (GMT) |
commit | 237bf40746acc28df28070ff7a1dc81c127eb0f6 (patch) | |
tree | d47a276ef4b77b015a548b592ca3d0c7d67a9ced | |
parent | 82d4cc27c6b14fd6460c87d66db22e7925b04051 (diff) | |
download | cpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.zip cpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.tar.gz cpython-237bf40746acc28df28070ff7a1dc81c127eb0f6.tar.bz2 |
Fix a warning on alpha
-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 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; |