mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:34:59 +00:00
LibC: Fix wcsrchr declaration to return a non-const wchar*
This is how the standard specifies it; similarly to the already correctly declared wcschr function.
This commit is contained in:
parent
763a69d46d
commit
e6164d35fa
2 changed files with 2 additions and 2 deletions
|
@ -101,7 +101,7 @@ wchar_t* wcschr(const wchar_t* str, int c)
|
|||
}
|
||||
}
|
||||
|
||||
const wchar_t* wcsrchr(const wchar_t* str, wchar_t wc)
|
||||
wchar_t* wcsrchr(const wchar_t* str, wchar_t wc)
|
||||
{
|
||||
wchar_t* last = nullptr;
|
||||
wchar_t c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue