(xdprval): Passed ptrdiff_t as field width.
This commit is contained in:
parent
7cba668c39
commit
914e21cdfd
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ xdprval(struct valstr *val, char *sep)
|
|||
s = val->val_as.str;
|
||||
while (s && *s) {
|
||||
for (e = s; *e != '"' && isprint(*e); ++e) ;
|
||||
pr("%*s", e-s, s);
|
||||
pr("%*s", (int)(e-s), s);
|
||||
for (; *e && !isprint(*e); ++e) {
|
||||
pr("\\%3o", *e);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue