Index: code/tools/lcc/cpp/tokens.c =================================================================== --- code/tools/lcc/cpp/tokens.c (revision 1803) +++ code/tools/lcc/cpp/tokens.c (working copy) @@ -1,6 +1,7 @@ #include #include #include +#include #include "cpp.h" static char wbuf[2*OBS]; @@ -267,7 +268,7 @@ if (str) fprintf(stderr, "%s ", str); if (tpbp || tp>trp->lp) - fprintf(stderr, "(tp offset %d) ", tp-trp->bp); + fprintf(stderr, "(tp offset %" PRIdPTR ") ", tp-trp->bp); for (tp=trp->bp; tplp && tpbp+32; tp++) { if (tp->type!=NL) { int c = tp->t[tp->len];