79c115
From c53fd2db8c78fef5afd284c3e64da51bc71cf6c3 Mon Sep 17 00:00:00 2001
79c115
From: nomis52 <nomis52@users.sourceforge.net>
79c115
Date: Sat, 4 Aug 2012 15:03:31 -0400
79c115
Subject: [PATCH] Change variable types to silence compiler warnings; resolves
79c115
 #3552806
79c115
79c115
Signed-off-by: Will Estes <westes575@gmail.com>
79c115
---
79c115
 flex.skl | 2 +-
79c115
 gen.c    | 2 +-
79c115
 2 files changed, 2 insertions(+), 2 deletions(-)
79c115
79c115
Index: b/flex.skl
79c115
===================================================================
79c115
--- a/flex.skl
79c115
+++ b/flex.skl
79c115
@@ -2360,7 +2360,7 @@ YY_BUFFER_STATE yy_scan_bytes  YYFARGS2(
79c115
 	YY_BUFFER_STATE b;
79c115
 	char *buf;
79c115
 	yy_size_t n;
79c115
-	int i;
79c115
+	yy_size_t i;
79c115
     m4_dnl M4_YY_DECL_GUTS_VAR();
79c115
 
79c115
 	/* Get memory for full buffer, including space for trailing EOB's. */
79c115
Index: b/gen.c
79c115
===================================================================
79c115
--- a/gen.c
79c115
+++ b/gen.c
79c115
@@ -1972,7 +1972,7 @@ void make_tables ()
79c115
 		("if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )");
79c115
 	indent_up ();
79c115
 	indent_puts ("{");
79c115
-	indent_puts ("int yyl;");
79c115
+	indent_puts ("yy_size_t yyl;");
79c115
 	do_indent ();
79c115
 	out_str ("for ( yyl = %s; yyl < yyleng; ++yyl )\n",
79c115
 		 yymore_used ? (yytext_is_array ? "YY_G(yy_prev_more_offset)" :