mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 21:11:52 +00:00
VS2015 warning fixes for Lemon
This commit is contained in:
parent
4641549e0e
commit
3897f109ed
1 changed files with 3 additions and 3 deletions
|
@ -3784,7 +3784,7 @@ void print_stack_union(
|
|||
break;
|
||||
}
|
||||
hash++;
|
||||
if( hash>=arraysize ) hash = 0;
|
||||
if( hash>=(unsigned)arraysize ) hash = 0;
|
||||
}
|
||||
if( types[hash]==0 ){
|
||||
sp->dtnum = hash + 1;
|
||||
|
@ -3912,7 +3912,7 @@ void ReportTable(
|
|||
struct action *ap;
|
||||
struct rule *rp;
|
||||
struct acttab *pActtab;
|
||||
int i, j, k, n, sz;
|
||||
int i, j, n, sz;
|
||||
int szActionType; /* sizeof(YYACTIONTYPE) */
|
||||
int szCodeType; /* sizeof(YYCODETYPE) */
|
||||
const char *name;
|
||||
|
@ -4429,7 +4429,7 @@ void CompressTables(struct lemon *lemp)
|
|||
struct state *stp;
|
||||
struct action *ap, *ap2;
|
||||
struct rule *rp, *rp2, *rbest;
|
||||
int nbest, n, nshift;
|
||||
int nbest, n;
|
||||
int i;
|
||||
int usesWildcard;
|
||||
|
||||
|
|
Loading…
Reference in a new issue