summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwlestes <wlestes>2008-04-10 18:08:47 +0000
committerwlestes <wlestes>2008-04-10 18:08:47 +0000
commitf8d30862a9779f810adb86cad3c001e3da10649d (patch)
treec3e7bfe8211ba0e5cbb0cc13a7409daf56f5e802
parenteaf12dbf6cf6947522194dd8cf77a433f412742f (diff)
downloadflex-f8d30862a9779f810adb86cad3c001e3da10649d.tar.gz
fix another int type to be size_t
-rw-r--r--gen.c2
1 files changed, 1 insertions, 1 deletions
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; \\");