From a91cc828ccea75e24b254d1214f1f61b0cc8bdfa Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Mon, 12 Jun 2006 21:48:08 +0000 Subject: [PATCH] * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo. --- winsup/mingw/ChangeLog | 4 ++++ winsup/mingw/mingwex/wcrtomb.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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++; -- 2.43.5