[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.36,2.37
M.-A. Lemburg
python-dev@python.org
Thu, 6 Jul 2000 13:13:26 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv23563/Objects
Modified Files:
unicodeobject.c
Log Message:
Fixed some code that used 'short' to use 'long' instead.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** unicodeobject.c 2000/07/06 19:43:31 2.36
--- unicodeobject.c 2000/07/06 20:13:23 2.37
***************
*** 3050,3054 ****
/* http://www-4.ibm.com/software/developer/library/utf16.html?dwzone=unicode */
! static unsigned short utf16Fixup[32] =
{
0, 0, 0, 0, 0, 0, 0, 0,
--- 3050,3054 ----
/* http://www-4.ibm.com/software/developer/library/utf16.html?dwzone=unicode */
! static unsigned long utf16Fixup[32] =
{
0, 0, 0, 0, 0, 0, 0, 0,
***************
*** 3070,3075 ****
while (len1 > 0 && len2 > 0) {
! unsigned short c1, c2; /* 16 bits */
! long diff; /* >=32 bits */
c1 = *s1++;
--- 3070,3075 ----
while (len1 > 0 && len2 > 0) {
! unsigned long c1, c2;
! long diff;
c1 = *s1++;