diff Python/codecs.c @ 38023:19ad3d35fac4 legacy-trunk

Fix a warning on alpha
author Neal Norwitz <nnorwitz@gmail.com>
date Fri, 28 Apr 2006 05:28:30 +0000
parents ce5585afc20f
children 6f042f5bf94d
line wrap: on
line diff
--- a/Python/codecs.c	Fri Apr 28 05:28:05 2006 +0000
+++ b/Python/codecs.c	Fri Apr 28 05:28:30 2006 +0000
@@ -70,7 +70,7 @@
         if (ch == ' ')
             ch = '-';
         else
-            ch = tolower(ch);
+            ch = tolower(Py_CHARMASK(ch));
 	p[i] = ch;
     }
     return v;