64-bit fixes

This commit is contained in:
rsc 2005-12-29 20:55:19 +00:00
parent 30d57c7489
commit 98f7b73f93
3 changed files with 8 additions and 8 deletions

View file

@ -26,7 +26,7 @@ void pushsrc(int type, char *ptr) /* new input source */
srcp->type = type;
srcp->sp = ptr;
if (dbg > 1) {
printf("\n%3d ", (int) (srcp - src));
printf("\n%3d ", (int)(srcp - src));
switch (srcp->type) {
case File:
printf("push file %s\n", ((Infile *)ptr)->fname);