aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include
diff options
context:
space:
mode:
authorDanny Smith <dannysmith@users.sourceforge.net>2004-07-20 08:47:42 +0000
committerDanny Smith <dannysmith@gcc.gnu.org>2004-07-20 08:47:42 +0000
commit5794581363d5c74938f0e200b4c899a5b26229e9 (patch)
tree734dbbf0b04cb609bea23c6b9c40a8acecd0f2d3 /libstdc++-v3/include
parentfa0aee8996c4865098816ee9a5007aabe355925f (diff)
downloadgcc-5794581363d5c74938f0e200b4c899a5b26229e9.zip
gcc-5794581363d5c74938f0e200b4c899a5b26229e9.tar.gz
gcc-5794581363d5c74938f0e200b4c899a5b26229e9.tar.bz2
* include/c_std/std_cwchar.h (wcsstr): Correct signature.
From-SVN: r84945
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r--libstdc++-v3/include/c_std/std_cwchar.h2
1 files changed, 1 insertions, 1 deletions
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;