Commit Diff


commit - 3fe9465ac99f9aa3a23f71f01df9e097f0c1da87
commit + 8bda92cce22ff1fda6774c102db113763b0df4a6
blob - 3b12d98f2fd39a04a8f25958e5b68d9b76f16d53
blob + e23784be2c7e13d1dd82e21cb0db57ec2ea21178
--- src/cmd/tbl/t5.c
+++ 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
blob - cc7dacf130c0315dd14f8fca06e20489deb313e5
blob + a5928ecedf65f7bbc112f95e9ca7619ff9b186a7
--- src/cmd/tpic/input.c
+++ 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);