From 1da19feba7c957e0f0af0c3eeadc29e8c82b0ca3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bastian=20K=C3=B6cher?= Date: Mon, 14 Mar 2016 16:48:15 +0100 Subject: [PATCH] Fixes yyl compare with unsigned warning --- src/gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gen.c b/src/gen.c index d31aab3..d10b737 100644 --- a/src/gen.c +++ b/src/gen.c @@ -1973,7 +1973,7 @@ void make_tables (void) ("if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )"); ++indent_level; indent_puts ("{"); - indent_puts ("yy_size_t yyl;"); + indent_puts ("int yyl;"); do_indent (); out_str ("for ( yyl = %s; yyl < yyleng; ++yyl )\n", yymore_used ? (yytext_is_array ? "YY_G(yy_prev_more_offset)" : -- 2.40.0