[Python-checkins] CVS: python/dist/src/Python modsupport.c,2.51,2.52

Jack Jansen python-dev@python.org
Fri, 15 Sep 2000 05:51:07 -0700


Update of /cvsroot/python/python/dist/src/Python
In directory slayer.i.sourceforge.net:/tmp/cvs-serv22061

Modified Files:
	modsupport.c 
Log Message:
Cast UCHAR_MAX to int before doing the comparison for overflow of the
B format char.


Index: modsupport.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/modsupport.c,v
retrieving revision 2.51
retrieving revision 2.52
diff -C2 -r2.51 -r2.52
*** modsupport.c	2000/09/01 23:29:28	2.51
--- modsupport.c	2000/09/15 12:51:01	2.52
***************
*** 248,251 ****
--- 248,252 ----
  
  		case 'b':
+ 		case 'B':
  		case 'h':
  		case 'i':