[Python-checkins] python/dist/src/Python newcompile.c,1.1.2.23,1.1.2.24

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
Mon, 24 Mar 2003 15:44:24 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv2961/Python

Modified Files:
      Tag: ast-branch
	newcompile.c 
Log Message:
Redeclared stuff to stop wngs about signed-vs-unsigned mismatches.


Index: newcompile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/Attic/newcompile.c,v
retrieving revision 1.1.2.23
retrieving revision 1.1.2.24
diff -C2 -d -r1.1.2.23 -r1.1.2.24
*** newcompile.c	24 Mar 2003 23:41:57 -0000	1.1.2.23
--- newcompile.c	24 Mar 2003 23:44:19 -0000	1.1.2.24
***************
*** 1390,1394 ****
  blocksize(struct basicblock *b)
  {
! 	int i, size = 0;
  
  	for (i = 0; i < b->b_iused; i++)
--- 1390,1395 ----
  blocksize(struct basicblock *b)
  {
! 	int i;
! 	int size = 0;
  
  	for (i = 0; i < b->b_iused; i++)
***************
*** 1423,1427 ****
  	a->a_offset += size;
  	if (ext > 0) {
! 	    *code++ = EXTENDED_ARG;
  	    *code++ = ext & 0xff;
  	    *code++ = ext >> 8;
--- 1424,1428 ----
  	a->a_offset += size;
  	if (ext > 0) {
! 	    *code++ = (char)EXTENDED_ARG;
  	    *code++ = ext & 0xff;
  	    *code++ = ext >> 8;