aboutsummaryrefslogtreecommitdiff
path: root/Parser
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-08-05 14:14:05 +0000
committerJack Jansen <jack.jansen@cwi.nl>2002-08-05 14:14:05 +0000
commitcf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1 (patch)
tree6b1660885fd7be230e29f756541d11afce0a3b09 /Parser
parentRenamed Py_Main to PyMac_Main as it has a different signature than the "norma... (diff)
downloadcpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.tar.gz
cpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.tar.bz2
cpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.zip
Added a cast to shut up a compiler warning.
Diffstat (limited to 'Parser')
-rw-r--r--Parser/tokenizer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 18884fe7336..3761a48b729 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -422,7 +422,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok)
#ifndef PGEN
if (warn && line && !tok->issued_encoding_warning && !tok->encoding) {
unsigned char *c;
- for (c = line; *c; c++)
+ for (c = (unsigned char *)line; *c; c++)
if (*c > 127) {
badchar = *c;
break;