[Python-checkins] python/dist/src/Parser tokenizer.c,2.60,2.61
jackjansen@users.sourceforge.net
jackjansen@users.sourceforge.net
Mon, 05 Aug 2002 07:14:07 -0700
Update of /cvsroot/python/python/dist/src/Parser
In directory usw-pr-cvs1:/tmp/cvs-serv2401
Modified Files:
tokenizer.c
Log Message:
Added a cast to shut up a compiler warning.
Index: tokenizer.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Parser/tokenizer.c,v
retrieving revision 2.60
retrieving revision 2.61
diff -C2 -d -r2.60 -r2.61
*** tokenizer.c 5 Aug 2002 01:49:16 -0000 2.60
--- tokenizer.c 5 Aug 2002 14:14:05 -0000 2.61
***************
*** 423,427 ****
if (warn && line && !tok->issued_encoding_warning && !tok->encoding) {
unsigned char *c;
! for (c = line; *c; c++)
if (*c > 127) {
badchar = *c;
--- 423,427 ----
if (warn && line && !tok->issued_encoding_warning && !tok->encoding) {
unsigned char *c;
! for (c = (unsigned char *)line; *c; c++)
if (*c > 127) {
badchar = *c;