warn_collector: fix building with newer flex
Flex before 2.5.37 would call YY_INPUT with a result of type int*.
But now it passes result as a yy_size_t* which leaders to errors:
lex.yy.c:1419:3: error: passing 'yy_size_t *' (aka 'unsigned int *') to
parameter of type 'int *' converts between pointers to integer types
with different sign
Change the type to match the newer flex. This means we'll fail when
built with older versions, but we don't care about that.
TEST=`emerge-x86-alex crash-reporter` works w/flex-2.5.37
TEST=`emerge-stumpy crash-reporter` works w/flex-2.5.37
Reviewed-by: Luigi Semenzato <firstname.lastname@example.org>
Commit-Queue: Mike Frysinger <email@example.com>
Tested-by: Mike Frysinger <firstname.lastname@example.org>
1 file changed