summaryrefslogtreecommitdiff
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
parentace9d955b0329558005a88f5711de12e96b356c4 (diff)
downloadcpython-git-cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1.tar.gz
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 18884fe733..3761a48b72 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;