From: John Millaway Date: Mon, 13 Mar 2006 21:21:56 +0000 (+0000) Subject: Fixed another -Wall report. X-Git-Tag: flex-2-5-34~109 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=afa3982fcaedd011e12c3a9e34cde5c4a15c44f5;p=flex Fixed another -Wall report. --- diff --git a/gen.c b/gen.c index b78f595..f5318fd 100644 --- 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; \\");