aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2006-06-12 21:48:08 +0000
committerDanny Smith <dannysmith@users.sourceforge.net>2006-06-12 21:48:08 +0000
commita91cc828ccea75e24b254d1214f1f61b0cc8bdfa (patch)
tree14e1bc192b59eac543c6c72bc4a75c2402958501
parentd658f6c649c697d90df8c074cbfbcc596ac29da2 (diff)
downloadnewlib-a91cc828ccea75e24b254d1214f1f61b0cc8bdfa.zip
newlib-a91cc828ccea75e24b254d1214f1f61b0cc8bdfa.tar.gz
newlib-a91cc828ccea75e24b254d1214f1f61b0cc8bdfa.tar.bz2
* mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
-rw-r--r--winsup/mingw/ChangeLog4
-rwxr-xr-xwinsup/mingw/mingwex/wcrtomb.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog
index 271d433..ab937a7 100644
--- a/winsup/mingw/ChangeLog
+++ b/winsup/mingw/ChangeLog
@@ -1,5 +1,9 @@
2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
+ * mingwex/wcrtomb.c (wcrtomb_cp): Correct typo.
+
+2006-06-13 Danny Smith <dannysmith@users.sourceforge.net>
+
* Makefile.in (SUBDIRS): Change to lowercase for autoconf 2.59.
2006-05-24 Christopher Faylor <cgf@timesys.com>
diff --git a/winsup/mingw/mingwex/wcrtomb.c b/winsup/mingw/mingwex/wcrtomb.c
index 454f035..f94feb2 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++;