[Python-checkins] r45776 - python/trunk/Python/codecs.c

neal.norwitz python-checkins at python.org
Fri Apr 28 07:28:30 CEST 2006


Author: neal.norwitz
Date: Fri Apr 28 07:28:30 2006
New Revision: 45776

Modified:
   python/trunk/Python/codecs.c
Log:
Fix a warning on alpha

Modified: python/trunk/Python/codecs.c
==============================================================================
--- python/trunk/Python/codecs.c	(original)
+++ python/trunk/Python/codecs.c	Fri Apr 28 07:28:30 2006
@@ -70,7 +70,7 @@
         if (ch == ' ')
             ch = '-';
         else
-            ch = tolower(ch);
+            ch = tolower(Py_CHARMASK(ch));
 	p[i] = ch;
     }
     return v;


More information about the Python-checkins mailing list