diff options
author | rsc <devnull@localhost> | 2006-04-20 22:56:08 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-04-20 22:56:08 +0000 |
commit | 8bda92cce22ff1fda6774c102db113763b0df4a6 (patch) | |
tree | 393f0c2745561a00184d0dbc7740a9d1b8c72c9b | |
parent | 3fe9465ac99f9aa3a23f71f01df9e097f0c1da87 (diff) | |
download | plan9port-8bda92cce22ff1fda6774c102db113763b0df4a6.tar.gz plan9port-8bda92cce22ff1fda6774c102db113763b0df4a6.tar.bz2 plan9port-8bda92cce22ff1fda6774c102db113763b0df4a6.zip |
cast
-rw-r--r-- | src/cmd/tbl/t5.c | 2 | ||||
-rw-r--r-- | src/cmd/tpic/input.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd/tbl/t5.c b/src/cmd/tbl/t5.c index 3b12d98f..e23784be 100644 --- a/src/cmd/tbl/t5.c +++ b/src/cmd/tbl/t5.c @@ -61,7 +61,7 @@ gettbl(void) ch = 1; if (match(cstore, "T{")) { /* text follows */ table[nlin][icol].col = - (char *)gettext(cstore, nlin, icol, + (char *)(uintptr)gettext(cstore, nlin, icol, font[icol][stynum[nlin]], csize[icol][stynum[nlin]]); } else diff --git a/src/cmd/tpic/input.c b/src/cmd/tpic/input.c index cc7dacf1..a5928ece 100644 --- a/src/cmd/tpic/input.c +++ b/src/cmd/tpic/input.c @@ -20,7 +20,7 @@ pushsrc(int type, char *ptr) /* new input source */ srcp->type = type; srcp->sp = ptr; if (dbg > 1) { - printf("\n%3d ", (long)(srcp - src)); + printf("\n%3ld ", (long)(srcp - src)); switch (srcp->type) { case File: printf("push file %s\n", ((Infile *)ptr)->fname); |