aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libstdc++-v3/ChangeLog4
-rw-r--r--libstdc++-v3/include/c_std/std_cwchar.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index a7a056f..fd4ec5f 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,7 @@
+2004-07-20 Danny Smith <dannysmith@users.sourceforge.net>
+
+ * include/c_std/std_cwchar.h (wcsstr): Correct signature.
+
2004-07-19 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/15488
diff --git a/libstdc++-v3/include/c_std/std_cwchar.h b/libstdc++-v3/include/c_std/std_cwchar.h
index e3b7cdd..d9e11e9 100644
--- a/libstdc++-v3/include/c_std/std_cwchar.h
+++ b/libstdc++-v3/include/c_std/std_cwchar.h
@@ -223,7 +223,7 @@ namespace std
using ::wcsstr;
inline wchar_t*
- wcsstr(wchar_t* __s1, wchar_t* __s2)
+ wcsstr(wchar_t* __s1, const wchar_t* __s2)
{ return wcsstr(const_cast<const wchar_t*>(__s1), __s2); }
using ::wmemchr;