Fix a warning

This commit is contained in:
Thilo Schulz 2011-02-04 14:19:51 +00:00
parent 2cddb3e0ea
commit f6ea5315f7
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ peektokens(Tokenrow *trp, char *str)
if (str)
fprintf(stderr, "%s ", str);
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++) {
if (tp->type!=NL) {
int c = tp->t[tp->len];