From 276b240063692373433710a2314a1bf04ab43aa6 Mon Sep 17 00:00:00 2001 From: Will Estes Date: Thu, 10 Apr 2008 18:08:47 +0000 Subject: [PATCH] fix another int type to be size_t --- gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; \\"); -- 2.40.0