[Python-checkins] python/dist/src/Objects unicodeobject.c,2.124.6.12,2.124.6.13

lemburg@users.sourceforge.net lemburg@users.sourceforge.net
Tue, 24 Sep 2002 02:29:47 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv2449

Modified Files:
      Tag: release22-maint
	unicodeobject.c 
Log Message:
Fix cast from backport.



Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.124.6.12
retrieving revision 2.124.6.13
diff -C2 -d -r2.124.6.12 -r2.124.6.13
*** unicodeobject.c	23 Sep 2002 21:17:27 -0000	2.124.6.12
--- unicodeobject.c	24 Sep 2002 09:29:44 -0000	2.124.6.13
***************
*** 5642,5646 ****
                               "unsupported format character '%c' (0x%x) "
                               "at index %i",
!                              (31<=c && c<=126) ? (int)c : '?', 
                               (int)c,
                               (int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));
--- 5642,5646 ----
                               "unsupported format character '%c' (0x%x) "
                               "at index %i",
!                              (31<=c && c<=126) ? (char)c : '?', 
                               (int)c,
                               (int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));