[Python-checkins] CVS: python/dist/src/Python compile.c,2.146,2.147

Tim Peters tim_one@users.sourceforge.net
Fri, 19 Jan 2001 21:15:28 -0800


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

Modified Files:
	compile.c 
Log Message:
SF patch #103336:  Missing cast.


Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.146
retrieving revision 2.147
diff -C2 -r2.146 -r2.147
*** compile.c	2001/01/19 03:21:30	2.146
--- compile.c	2001/01/20 05:15:26	2.147
***************
*** 184,188 ****
  {
         static char ok_name_char[256];
!        static unsigned char *name_chars = NAME_CHARS;
  
         if (ok_name_char[*name_chars] == 0) {
--- 184,188 ----
  {
         static char ok_name_char[256];
!        static unsigned char *name_chars = (unsigned char *)NAME_CHARS;
  
         if (ok_name_char[*name_chars] == 0) {