mirror of
https://github.com/UberGames/lilium-voyager.git
synced 2024-11-10 06:31:47 +00:00
Fix a warning
This commit is contained in:
parent
2cddb3e0ea
commit
f6ea5315f7
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ peektokens(Tokenrow *trp, char *str)
|
||||||
if (str)
|
if (str)
|
||||||
fprintf(stderr, "%s ", str);
|
fprintf(stderr, "%s ", str);
|
||||||
if (tp<trp->bp || tp>trp->lp)
|
if (tp<trp->bp || tp>trp->lp)
|
||||||
fprintf(stderr, "(tp offset %d) ", tp-trp->bp);
|
fprintf(stderr, "(tp offset %ld) ", (long int) (tp - trp->bp));
|
||||||
for (tp=trp->bp; tp<trp->lp && tp<trp->bp+32; tp++) {
|
for (tp=trp->bp; tp<trp->lp && tp<trp->bp+32; tp++) {
|
||||||
if (tp->type!=NL) {
|
if (tp->type!=NL) {
|
||||||
int c = tp->t[tp->len];
|
int c = tp->t[tp->len];
|
||||||
|
|
Loading…
Reference in a new issue