Old bug in longobject.c + fix
Paul Sheer
psheer at icon.co.za
Sat Aug 17 14:13:09 EDT 2002
This bug has been here since the 1.5 days.
I once emailed it to Guido, but I it has never been included.
Could someone see that it gets the right people?
best
-paul
--- src/Objects/longobject.c Thu May 9 20:27:30 2002
+++ src/Objects/longobject.c.new Sat Aug 17 20:30:06 2002
@@ -1977,7 +1977,7 @@
z->ob_digit[i] = 0;
accum = 0;
for (i = wordshift, j = 0; j < oldsize; i++, j++) {
- accum |= a->ob_digit[j] << remshift;
+ accum |= (twodigits) a->ob_digit[j] << remshift;
z->ob_digit[i] = (digit)(accum & MASK);
accum >>= SHIFT;
}
--
Paul Sheer Consulting IT Services . . Tel . . . +27 (0)21 6869634
Email . . . psheer at icon.co.za . . . . . . Pager . . . 088 0057245
Linux development, cryptography, recruitment, support, training
http://www.icon.co.za/~psheer . . . . http://rute.sourceforge.net
L I N U X . . . . . . . . . . . . The Choice of a GNU Generation
More information about the Python-list
mailing list