From cf0a2cfdb269ba8060f86fe5fe7a2b2085edbbc1 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 5 Aug 2002 14:14:05 +0000 Subject: [PATCH] Added a cast to shut up a compiler warning. --- Parser/tokenizer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;