[quake3-commits] r1844 - trunk/code/tools/lcc/cpp
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Fri Feb 4 09:19:51 EST 2011
Author: thilo
Date: 2011-02-04 09:19:51 -0500 (Fri, 04 Feb 2011)
New Revision: 1844
Modified:
trunk/code/tools/lcc/cpp/tokens.c
Log:
Fix a warning
Modified: trunk/code/tools/lcc/cpp/tokens.c
===================================================================
--- trunk/code/tools/lcc/cpp/tokens.c 2011-02-04 13:43:41 UTC (rev 1843)
+++ trunk/code/tools/lcc/cpp/tokens.c 2011-02-04 14:19:51 UTC (rev 1844)
@@ -267,7 +267,7 @@
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];
More information about the quake3-commits
mailing list