diff options
author | Fred Drake <fdrake@acm.org> | 2001-07-19 21:49:38 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-07-19 21:49:38 (GMT) |
commit | 1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1 (patch) | |
tree | 425b3fa3df22e4cbb7884c00b498f1395e25bea9 /Objects/intobject.c | |
parent | dff3a37afdf36263d9d10daf35d8400bda0dbbb1 (diff) | |
download | cpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.zip cpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.tar.gz cpython-1bc8fab0e770071c8476a92fa0da5c1daa3ad4a1.tar.bz2 |
Kill more warnings from the SGI compiler.
Part of SF patch #434992.
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r-- | Objects/intobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index b0ed82a..282da20 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -645,7 +645,7 @@ int_lshift(PyIntObject *v, PyIntObject *w) if (b >= LONG_BIT) { return PyInt_FromLong(0L); } - a = (unsigned long)a << b; + a = (long)((unsigned long)a << b); return PyInt_FromLong(a); } |