diff Objects/unicodeobject.c @ 13391:1b4359a2976d legacy-trunk

Fixed some code that used 'short' to use 'long' instead.
author Marc-André Lemburg <mal@egenix.com>
date Thu, 06 Jul 2000 20:13:23 +0000
parents 62754b9ec7df
children 8107de28bc82
line wrap: on
line diff
--- a/Objects/unicodeobject.c	Thu Jul 06 19:43:31 2000 +0000
+++ b/Objects/unicodeobject.c	Thu Jul 06 20:13:23 2000 +0000
@@ -3049,7 +3049,7 @@
 /* gleaned from: */
 /* http://www-4.ibm.com/software/developer/library/utf16.html?dwzone=unicode */
 
-static unsigned short utf16Fixup[32] =
+static unsigned long utf16Fixup[32] =
 {
     0, 0, 0, 0, 0, 0, 0, 0, 
     0, 0, 0, 0, 0, 0, 0, 0,
@@ -3069,8 +3069,8 @@
     len2 = str2->length;
     
     while (len1 > 0 && len2 > 0) {
-	unsigned short c1, c2; /* 16 bits */
-	long diff; /* >=32 bits */
+	unsigned long c1, c2;
+	long diff;
 
         c1 = *s1++;
         c2 = *s2++;