summaryrefslogtreecommitdiffstats
path: root/utf8.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-24 05:35:07 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-24 05:35:07 +0000
commit27cfa81110c26d2505d50443c330324faa8bf49b (patch)
tree7ed136039c13a853a6bbd890aa3551692f388e0b /utf8.c
parent013b88dfc308691c5bbbeca23b567a6e27ebc735 (diff)
Constify utf8_width() function argument.
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 b0e3c3cb..9458d8b2 100644
--- a/utf8.c
+++ b/utf8.c
@@ -297,7 +297,7 @@ utf8_split(u_int uvalue, u_char *data)
}
int
-utf8_width(u_char *udata)
+utf8_width(const u_char *udata)
{
struct utf8_width_entry *item;
u_int uvalue;