From: Will Estes Date: Thu, 10 Apr 2008 18:08:47 +0000 (+0000) Subject: fix another int type to be size_t X-Git-Tag: flex-2-5-36~59 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=276b240063692373433710a2314a1bf04ab43aa6;p=flex fix another int type to be size_t --- diff --git a/gen.c b/gen.c index 848e2c5..5a5daef 100644 --- a/gen.c +++ b/gen.c @@ -1890,7 +1890,7 @@ void make_tables () outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\"); outn ("\t\t{ \\"); outn ("\t\tint c = '*'; \\"); - outn ("\t\tint n; \\"); + outn ("\t\tsize_t 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; \\");