]> granicus.if.org Git - flex/commitdiff
Fixed another -Wall report.
authorJohn Millaway <john43@users.sourceforge.net>
Mon, 13 Mar 2006 21:21:56 +0000 (21:21 +0000)
committerJohn Millaway <john43@users.sourceforge.net>
Mon, 13 Mar 2006 21:21:56 +0000 (21:21 +0000)
gen.c

diff --git a/gen.c b/gen.c
index b78f59581d26fe808cfd42be4b1c19fec0e8a0e0..f5318fd809787b2bc3c1316d0e3fe4d2f04b87b0 100644 (file)
--- a/gen.c
+++ b/gen.c
@@ -1896,7 +1896,7 @@ void make_tables ()
                        outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
                        outn ("\t\t{ \\");
                        outn ("\t\tint c = '*'; \\");
-                       outn ("\t\tsize_t n; \\");
+                       outn ("\t\tint n; \\");
                        outn ("\t\tfor ( n = 0; n < max_size && \\");
                        outn ("\t\t\t     (c = getc( yyin )) != EOF && c != '\\n'; ++n ) \\");
                        outn ("\t\t\tbuf[n] = (char) c; \\");