tcast - plan9port - [fork] Plan 9 from user space
 (HTM) git clone git://src.adamsgaard.dk/plan9port
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 8bda92cce22ff1fda6774c102db113763b0df4a6
 (DIR) parent 3fe9465ac99f9aa3a23f71f01df9e097f0c1da87
 (HTM) Author: rsc <devnull@localhost>
       Date:   Thu, 20 Apr 2006 22:56:08 +0000
       
       cast
       
       Diffstat:
         M src/cmd/tbl/t5.c                    |       2 +-
         M src/cmd/tpic/input.c                |       2 +-
       
       2 files changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/cmd/tbl/t5.c b/src/cmd/tbl/t5.c
       t@@ -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
 (DIR) diff --git a/src/cmd/tpic/input.c b/src/cmd/tpic/input.c
       t@@ -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);