(journal_entry): Silence compiler warning in previous revision.
This commit is contained in:
parent
b9324da31d
commit
1fb03c5662
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ journal_entry(char *fmt, ...)
|
||||||
vsnprintf(buf, sizeof(buf) - 1, fmt, ap);
|
vsnprintf(buf, sizeof(buf) - 1, fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
|
|
||||||
for (p = buf; *p; p++) {
|
for (p = (unsigned char *)buf; *p; p++) {
|
||||||
if (isprint(*p))
|
if (isprint(*p))
|
||||||
putc(*p, journal);
|
putc(*p, journal);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue