diff options
author | Marc-André Lemburg <mal@egenix.com> | 2000-07-06 20:13:23 +0000 |
---|---|---|
committer | Marc-André Lemburg <mal@egenix.com> | 2000-07-06 20:13:23 +0000 |
commit | 9d2b3a0335c70602403eda5299ffc45752f7f791 (patch) | |
tree | 73863d4144d77ea0b74df3ff172ab0763b052300 /Objects/unicodeobject.c | |
parent | 298310feea3b63f0d783756e1c0d7e66f011dce6 (diff) | |
download | cpython-9d2b3a0335c70602403eda5299ffc45752f7f791.tar.gz |
Fixed some code that used 'short' to use 'long' instead.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 97d1697704..dcef11bc8c 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -3049,7 +3049,7 @@ unicode_center(PyUnicodeObject *self, PyObject *args) /* 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 @@ unicode_compare(PyUnicodeObject *str1, PyUnicodeObject *str2) 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++; |