From: Roland McGrath Date: Tue, 22 Jul 2003 20:05:55 +0000 (+0000) Subject: 2003-07-21 Art Haas X-Git-Tag: upstream/2.30~18964 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cfba19423d8debbd5ee71ba34235ded0f7181cf7;p=external%2Fglibc.git 2003-07-21 Art Haas * manual/charset.texi (Converting a Character): Fix example code so a valid pointer is returned. --- diff --git a/manual/charset.texi b/manual/charset.texi index 2ebde7d..5063246 100644 --- a/manual/charset.texi +++ b/manual/charset.texi @@ -696,7 +696,7 @@ mbstouwcs (const char *s) if (nbytes >= (size_t) -2) /* Invalid input string. */ return NULL; - *result++ = towupper (tmp[0]); + *wcp++ = towupper (tmp[0]); len -= nbytes; s += nbytes; @}