summaryrefslogtreecommitdiff
path: root/core/flex/flex-2.5.35-sign.patch
blob: fbee18bdeeccde43049056f976074a7616e4aa1a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- flex-2.5.35/gen.c-orig	2008-04-30 22:51:08.000000000 +0200
+++ flex-2.5.35/gen.c	2008-04-30 22:51:14.000000000 +0200
@@ -1890,7 +1890,7 @@
 			outn ("\tif ( YY_CURRENT_BUFFER_LVALUE->yy_is_interactive ) \\");
 			outn ("\t\t{ \\");
 			outn ("\t\tint c = '*'; \\");
-			outn ("\t\tint n; \\");
+			outn ("\t\tunsigned 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; \\");