diff options
author | Guido van Rossum <guido@python.org> | 1999-01-14 19:01:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-01-14 19:01:53 (GMT) |
commit | 3aa23fdd47406de288e8ff32581222de739737eb (patch) | |
tree | 0391bd6b79f4a88e780564bacbd871a7a2623971 /Objects/listobject.c | |
parent | 3c25904a98f347f56ab6c108c451e5ad681830f2 (diff) | |
download | cpython-3aa23fdd47406de288e8ff32581222de739737eb.zip cpython-3aa23fdd47406de288e8ff32581222de739737eb.tar.gz cpython-3aa23fdd47406de288e8ff32581222de739737eb.tar.bz2 |
Jim Ahlstrom patch: cutoff should be a long for machines with 16-bit
ints. (In theory, other variables should be widened to long as well,
but this won't ever be needed, since the len of a list is still an
int.)
Diffstat (limited to 'Objects/listobject.c')
-rw-r--r-- | Objects/listobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/listobject.c b/Objects/listobject.c index df2108c..51d3d07 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c @@ -877,7 +877,7 @@ struct SamplesortStackNode { is undesirable, so cutoff values are canned in the "cutoff" table below: cutoff[i] is the smallest N such that k == CUTOFFBASE + i. */ #define CUTOFFBASE 4 -static int cutoff[] = { +static long cutoff[] = { 43, /* smallest N such that k == 4 */ 106, /* etc */ 250, |