Fix a couple of argument types.

This commit is contained in:
nicm
2017-03-17 14:51:41 +00:00
parent 481e48d119
commit 67d2335130
2 changed files with 3 additions and 3 deletions

2
utf8.c
View File

@ -112,7 +112,7 @@ utf8_width(wchar_t wc)
width = wcwidth(wc);
if (width < 0 || width > 0xff) {
log_debug("Unicode %04x, wcwidth() %d", wc, width);
log_debug("Unicode %04lx, wcwidth() %d", (long)wc, width);
return (-1);
}
return (width);