diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-05 14:14:05 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-08-05 14:14:05 (GMT) |
commit | cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1 (patch) | |
tree | 6b1660885fd7be230e29f756541d11afce0a3b09 /Parser | |
parent | ace9d955b0329558005a88f5711de12e96b356c4 (diff) | |
download | cpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.zip cpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.tar.gz cpython-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.tar.bz2 |
Added a cast to shut up a compiler warning.
Diffstat (limited to 'Parser')
-rw-r--r-- | Parser/tokenizer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c index 18884fe..3761a48 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; |