[Python-checkins] CVS: python/dist/src/Objects longobject.c,1.78,1.79

Tim Peters tim_one@users.sourceforge.net
Wed, 13 Jun 2001 14:09:17 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv20769/python/dist/src/Objects

Modified Files:
	longobject.c 
Log Message:
_PyLong_FromByteArray:  changed decl of "carry" to match "thisbyte".  No
semantic change, but a bit clearer and may help a really stupid compiler
avoid pointless runtime length conversions.


Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.78
retrieving revision 1.79
diff -C2 -r1.78 -r1.79
*** longobject.c	2001/06/13 21:01:27	1.78
--- longobject.c	2001/06/13 21:09:15	1.79
***************
*** 279,283 ****
  	{
  		size_t i;
! 		unsigned int carry = 1;		/* for 2's-comp calculation */
  		twodigits accum = 0;		/* sliding register */
  		unsigned int accumbits = 0; 	/* number of bits in accum */
--- 279,283 ----
  	{
  		size_t i;
! 		twodigits carry = 1;		/* for 2's-comp calculation */
  		twodigits accum = 0;		/* sliding register */
  		unsigned int accumbits = 0; 	/* number of bits in accum */