cast
This commit is contained in:
parent
3fe9465ac9
commit
8bda92cce2
2 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ gettbl(void)
|
||||||
ch = 1;
|
ch = 1;
|
||||||
if (match(cstore, "T{")) { /* text follows */
|
if (match(cstore, "T{")) { /* text follows */
|
||||||
table[nlin][icol].col =
|
table[nlin][icol].col =
|
||||||
(char *)gettext(cstore, nlin, icol,
|
(char *)(uintptr)gettext(cstore, nlin, icol,
|
||||||
font[icol][stynum[nlin]],
|
font[icol][stynum[nlin]],
|
||||||
csize[icol][stynum[nlin]]);
|
csize[icol][stynum[nlin]]);
|
||||||
} else
|
} else
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ pushsrc(int type, char *ptr) /* new input source */
|
||||||
srcp->type = type;
|
srcp->type = type;
|
||||||
srcp->sp = ptr;
|
srcp->sp = ptr;
|
||||||
if (dbg > 1) {
|
if (dbg > 1) {
|
||||||
printf("\n%3d ", (long)(srcp - src));
|
printf("\n%3ld ", (long)(srcp - src));
|
||||||
switch (srcp->type) {
|
switch (srcp->type) {
|
||||||
case File:
|
case File:
|
||||||
printf("push file %s\n", ((Infile *)ptr)->fname);
|
printf("push file %s\n", ((Infile *)ptr)->fname);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue