Commit cf0a2cfd authored by Jack Jansen's avatar Jack Jansen

Added a cast to shut up a compiler warning.

parent ace9d955
...@@ -422,7 +422,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok) ...@@ -422,7 +422,7 @@ decoding_fgets(char *s, int size, struct tok_state *tok)
#ifndef PGEN #ifndef PGEN
if (warn && line && !tok->issued_encoding_warning && !tok->encoding) { if (warn && line && !tok->issued_encoding_warning && !tok->encoding) {
unsigned char *c; unsigned char *c;
for (c = line; *c; c++) for (c = (unsigned char *)line; *c; c++)
if (*c > 127) { if (*c > 127) {
badchar = *c; badchar = *c;
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment