Fix some warnings
--HG-- branch : develop
This commit is contained in:
parent
5fd4f96a59
commit
aaa044203e
3 changed files with 3 additions and 3 deletions
|
@ -328,7 +328,7 @@ yynewstate:
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Get the current used size of the three stacks, in elements. */
|
/* Get the current used size of the three stacks, in elements. */
|
||||||
int size = yyssp - yyss + 1;
|
int size = (int)(yyssp - yyss + 1);
|
||||||
|
|
||||||
#ifdef yyoverflow
|
#ifdef yyoverflow
|
||||||
/* Each stack pointer address is followed by the size of
|
/* Each stack pointer address is followed by the size of
|
||||||
|
|
|
@ -1000,7 +1000,7 @@ int yyFlexLexer::yyinput()
|
||||||
|
|
||||||
else
|
else
|
||||||
{ /* need more input */
|
{ /* need more input */
|
||||||
int offset = yy_c_buf_p - yytext_ptr;
|
int offset = (int)(yy_c_buf_p - yytext_ptr);
|
||||||
++yy_c_buf_p;
|
++yy_c_buf_p;
|
||||||
|
|
||||||
switch ( yy_get_next_buffer() )
|
switch ( yy_get_next_buffer() )
|
||||||
|
|
|
@ -2773,7 +2773,7 @@ static int input()
|
||||||
|
|
||||||
else
|
else
|
||||||
{ /* need more input */
|
{ /* need more input */
|
||||||
int offset = yy_c_buf_p - yytext_ptr;
|
int offset = (int)(yy_c_buf_p - yytext_ptr);
|
||||||
++yy_c_buf_p;
|
++yy_c_buf_p;
|
||||||
|
|
||||||
switch ( yy_get_next_buffer() )
|
switch ( yy_get_next_buffer() )
|
||||||
|
|
Loading…
Reference in a new issue