From 06006eb6930de74c577c87daf6a0f7917e22d578 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 23 Apr 2011 22:38:25 +0000 Subject: * Merge ioq3-r1946 --- src/tools/lcc/cpp/tokens.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tools/lcc/cpp') diff --git a/src/tools/lcc/cpp/tokens.c b/src/tools/lcc/cpp/tokens.c index 90ea47f2..ad9f2f7c 100644 --- a/src/tools/lcc/cpp/tokens.c +++ b/src/tools/lcc/cpp/tokens.c @@ -267,7 +267,7 @@ peektokens(Tokenrow *trp, char *str) if (str) fprintf(stderr, "%s ", str); if (tpbp || 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; tplp && tpbp+32; tp++) { if (tp->type!=NL) { int c = tp->t[tp->len]; -- cgit