[Python-checkins] python/dist/src/Objects unicodeobject.c,2.170,2.171
lemburg@users.sourceforge.net
lemburg@users.sourceforge.net
2002年9月24日 02:32:17 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv3081
Modified Files:
unicodeobject.c
Log Message:
Add cast to avoid compiler warning.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.170
retrieving revision 2.171
diff -C2 -d -r2.170 -r2.171
*** unicodeobject.c 13 Sep 2002 13:47:06 -0000 2.170
--- unicodeobject.c 24 Sep 2002 09:32:14 -0000 2.171
***************
*** 6466,6470 ****
"at index %i",
(31<=c && c<=126) ? (char)c : '?',
! c,
(int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));
goto onError;
--- 6466,6470 ----
"at index %i",
(31<=c && c<=126) ? (char)c : '?',
! (int)c,
(int)(fmt -1 - PyUnicode_AS_UNICODE(uformat)));
goto onError;