summaryrefslogtreecommitdiff
path: root/lib/unistr/u8-to-u16.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unistr/u8-to-u16.c')
-rw-r--r--lib/unistr/u8-to-u16.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unistr/u8-to-u16.c b/lib/unistr/u8-to-u16.c
index ac4211b280..734c25b9d1 100644
--- a/lib/unistr/u8-to-u16.c
+++ b/lib/unistr/u8-to-u16.c
@@ -60,7 +60,7 @@ FUNC (const SRC_UNIT *s, size_t n, DST_UNIT *resultbuf, size_t *lengthp)
int count;
/* Fetch a Unicode character from the input string. */
- count = u8_mbtouc_safe (&uc, s, s_end - s);
+ count = u8_mbtouc (&uc, s, s_end - s);
if (count < 0)
{
if (!(result == resultbuf || result == NULL))