troff: silence gcc printf warning
This commit is contained in:
parent
6bf652ed9c
commit
c8d681e850
2 changed files with 2 additions and 2 deletions
|
|
@ -559,7 +559,7 @@ void prnumerr(void)
|
||||||
warn);
|
warn);
|
||||||
if (frame != stk) /* uncertainty correction */
|
if (frame != stk) /* uncertainty correction */
|
||||||
numtabp[CD].val--;
|
numtabp[CD].val--;
|
||||||
ERROR err_buf WARN;
|
ERROR "%s", err_buf WARN;
|
||||||
numtabp[CD].val = savcd;
|
numtabp[CD].val = savcd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -467,7 +467,7 @@ void casetm1(int ab, FILE *out)
|
||||||
p = chname(c);
|
p = chname(c);
|
||||||
switch (*p) {
|
switch (*p) {
|
||||||
case MBchar:
|
case MBchar:
|
||||||
sprintf(&tmbuf[i], p+1);
|
strcpy(&tmbuf[i], p+1);
|
||||||
break;
|
break;
|
||||||
case Number:
|
case Number:
|
||||||
sprintf(&tmbuf[i], "\\N'%s'", p+1);
|
sprintf(&tmbuf[i], "\\N'%s'", p+1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue