Added a cast to shut up a compiler warning.

This commit is contained in:
Jack Jansen 2002-08-05 14:14:05 +00:00
parent ace9d955b0
commit cf0a2cfdb2
1 changed files with 1 additions and 1 deletions

View File

@ -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;