mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-17 17:51:11 +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;
|
break;
|
||||||
}
|
}
|
||||||
hash++;
|
hash++;
|
||||||
if( hash>=arraysize ) hash = 0;
|
if( hash>=(unsigned)arraysize ) hash = 0;
|
||||||
}
|
}
|
||||||
if( types[hash]==0 ){
|
if( types[hash]==0 ){
|
||||||
sp->dtnum = hash + 1;
|
sp->dtnum = hash + 1;
|
||||||
|
@ -3912,7 +3912,7 @@ void ReportTable(
|
||||||
struct action *ap;
|
struct action *ap;
|
||||||
struct rule *rp;
|
struct rule *rp;
|
||||||
struct acttab *pActtab;
|
struct acttab *pActtab;
|
||||||
int i, j, k, n, sz;
|
int i, j, n, sz;
|
||||||
int szActionType; /* sizeof(YYACTIONTYPE) */
|
int szActionType; /* sizeof(YYACTIONTYPE) */
|
||||||
int szCodeType; /* sizeof(YYCODETYPE) */
|
int szCodeType; /* sizeof(YYCODETYPE) */
|
||||||
const char *name;
|
const char *name;
|
||||||
|
@ -4429,7 +4429,7 @@ void CompressTables(struct lemon *lemp)
|
||||||
struct state *stp;
|
struct state *stp;
|
||||||
struct action *ap, *ap2;
|
struct action *ap, *ap2;
|
||||||
struct rule *rp, *rp2, *rbest;
|
struct rule *rp, *rp2, *rbest;
|
||||||
int nbest, n, nshift;
|
int nbest, n;
|
||||||
int i;
|
int i;
|
||||||
int usesWildcard;
|
int usesWildcard;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue