X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funistr%2Fu16-to-u8.c;h=fa1b861dff404511184dba76747b2f95213ac781;hb=9e50ddc83c2aa9cccbe954d561eb2380e4d3bfe7;hp=484af1ac3fcd9420b0fd23dd13c9d217ff33c2be;hpb=00da503f0eb41eae7b4bcfd2c539faf50d946695;p=gnulib.git diff --git a/lib/unistr/u16-to-u8.c b/lib/unistr/u16-to-u8.c index 484af1ac3..fa1b861df 100644 --- a/lib/unistr/u16-to-u8.c +++ b/lib/unistr/u16-to-u8.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 = u16_mbtouc_safe (&uc, s, s_end - s); + count = u16_mbtouc (&uc, s, s_end - s); if (count < 0) { if (!(result == resultbuf || result == NULL))