summaryrefslogtreecommitdiff
path: root/gen.c
diff options
context:
space:
mode:
authorVern Paxson <vern@ee.lbl.gov>1993-12-03 21:59:50 +0000
committerVern Paxson <vern@ee.lbl.gov>1993-12-03 21:59:50 +0000
commitc3a8ff54f61e8ead3e076a8773faad3e52130bc9 (patch)
treeb3660e8e0c7d9a30ec8e28ac995c3cff9270320f /gen.c
parent642caa6a88d3d74dea92468ae3bf6fc2e7eab242 (diff)
lint tweaks
Diffstat (limited to 'gen.c')
-rw-r--r--gen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gen.c b/gen.c
index 58ff297..34c605e 100644
--- a/gen.c
+++ b/gen.c
@@ -1255,7 +1255,7 @@ void make_tables()
printf(
"\tif ( yy_current_buffer->is_interactive ) \\\n" );
printf(
- "\t\tresult = (buf[0] = getc( yyin )) == EOF ? 0 : 1; \\\n" );
+"\t\tresult = ((int) (buf[0] = getc( yyin ))) == EOF ? 0 : 1; \\\n" );
printf(
"\telse if ( ((result = fread( (char *) buf, 1, max_size, yyin )) == 0)\\\n" );
printf( "\t\t && ferror( yyin ) ) \\\n" );