]> granicus.if.org Git - flex/commitdiff
fix another int type to be size_t
authorWill Estes <wlestes@users.sourceforge.net>
Thu, 10 Apr 2008 18:08:47 +0000 (18:08 +0000)
committerWill Estes <wlestes@users.sourceforge.net>
Thu, 10 Apr 2008 18:08:47 +0000 (18:08 +0000)
gen.c

diff --git a/gen.c b/gen.c
index 848e2c586ce5b596a3d4ba9f8ffa30698cb67d0a..5a5daef95758acdcd30131c418cad57a41d0f98f 100644 (file)
--- 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; \\");