summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authornicm <nicm>2017-03-17 14:51:41 +0000
committernicm <nicm>2017-03-17 14:51:41 +0000
commit67d2335130295f626cc87468fc069ecdedf2d92a (patch)
tree566a2f8d8a61160490a9a97260a6a7c87c08eb13 /utf8.c
parent481e48d119b0cf2fbf2556a6f4b3f4bbda5fdf7e (diff)
Fix a couple of argument types.
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utf8.c b/utf8.c
index ea8c99a2..ac85863a 100644
--- a/utf8.c
+++ b/utf8.c
@@ -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);