X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Funistr%2Fu8-to-u32.c;h=29dc620de0876ca7fb9f6576366747fddacd4123;hb=ccd54782ae73477aa3f3987ab04db9e6fde025d6;hp=bd2a2f0260e360cac064131a0e4accc4c3cc9d74;hpb=74ed96dc3b5701d9dcb7cdfa3326340fdc178fbe;p=gnulib.git diff --git a/lib/unistr/u8-to-u32.c b/lib/unistr/u8-to-u32.c index bd2a2f026..29dc620de 100644 --- a/lib/unistr/u8-to-u32.c +++ b/lib/unistr/u8-to-u32.c @@ -1,5 +1,5 @@ /* Convert UTF-8 string to UTF-32 string. - Copyright (C) 2002, 2006 Free Software Foundation, Inc. + Copyright (C) 2002, 2006-2007 Free Software Foundation, Inc. Written by Bruno Haible , 2002. This program is free software; you can redistribute it and/or modify it @@ -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))