mirror of https://gitee.com/bigwinds/arangodb
fixed compile warning
This commit is contained in:
parent
95c9a0ccba
commit
b10c45af3e
|
@ -972,7 +972,7 @@ yy_find_action:
|
|||
if ( yy_act != YY_END_OF_BUFFER && yy_rule_can_match_eol[yy_act] )
|
||||
{
|
||||
int yyl;
|
||||
for ( yyl = 0; yyl < yyleng; ++yyl )
|
||||
for ( yyl = 0; yyl < (int) yyleng; ++yyl )
|
||||
if ( yytext[yyl] == '\n' )
|
||||
|
||||
do{ yylineno++;
|
||||
|
|
|
@ -27,6 +27,7 @@ test -f ${OUTPUT} || exit 1
|
|||
|
||||
cat ${OUTPUT} \
|
||||
| sed -e 's:( i = 0; i < _yybytes_len;:( i = 0; i < (int) _yybytes_len;:' \
|
||||
| sed -e 's:( yyl = 0; yyl < yyleng; ++yyl ):( yyl = 0; yyl < (int) yyleng; ++yyl ):' \
|
||||
| sed -e 's:yy_n_chars, (size_t) num_to_read );:yy_n_chars, (int) num_to_read );:' \
|
||||
| sed -e 's:register ::g' \
|
||||
> ${OUTPUT}.tmp
|
||||
|
|
Loading…
Reference in New Issue