diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 271d433b8..ab937a73f 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2006-06-13 Danny Smith + + * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo. + 2006-06-13 Danny Smith * Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59. diff --git a/winsup/mingw/mingwex/wcrtomb.c b/winsup/mingw/mingwex/wcrtomb.c index 454f035c0..f94feb264 100755 --- a/winsup/mingw/mingwex/wcrtomb.c +++ b/winsup/mingw/mingwex/wcrtomb.c @@ -68,7 +68,7 @@ size_t wcsrtombs (char *dst, const wchar_t **src, size_t len, dst += ret; if (*(dst - 1) == '\0') { - *saved_src = (wchar_t) NULL;; + *saved_src = (wchar_t*) NULL;; return (n - 1); } *src++;