From 62d321fb3104f70b918cb77076db63ec2a6f3889 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Tue, 2 Jan 2007 21:36:03 +0200 Subject: [PATCH] Make add_utf8 accept a pointer to const. --- src/intl/charsets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/intl/charsets.c b/src/intl/charsets.c index c8f350d9d..cc2b7323a 100644 --- a/src/intl/charsets.c +++ b/src/intl/charsets.c @@ -772,7 +772,7 @@ cp_to_unicode(int codepage, unsigned char **string, unsigned char *end) static void -add_utf8(struct conv_table *ct, unicode_val_T u, unsigned char *str) +add_utf8(struct conv_table *ct, unicode_val_T u, const unsigned char *str) { unsigned char *p = encode_utf8(u);