mirror of
https://github.com/reactos/reactos.git
synced 2025-07-04 20:21:22 +00:00
Microsoft and the open group both specify towupper and towlower as taking int
and returning int of some flavor. Make this true of ours. http://msdn2.microsoft.com/en-us/library/45119yx3(VS.80).aspx http://opengroup.org/onlinepubs/007908799/xsh/towupper.html svn path=/trunk/; revision=29073
This commit is contained in:
parent
028b640f0b
commit
fe9867a61c
1 changed files with 2 additions and 2 deletions
|
@ -571,7 +571,7 @@ int toupper(int c)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
wchar_t towlower(wchar_t c)
|
wint_t towlower(wint_t c)
|
||||||
{
|
{
|
||||||
if (iswctype (c, _UPPER))
|
if (iswctype (c, _UPPER))
|
||||||
return (c - upalpha);
|
return (c - upalpha);
|
||||||
|
@ -581,7 +581,7 @@ wchar_t towlower(wchar_t c)
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @implemented
|
||||||
*/
|
*/
|
||||||
wchar_t towupper(wchar_t c)
|
wint_t towupper(wint_t c)
|
||||||
{
|
{
|
||||||
if (iswctype (c, _LOWER))
|
if (iswctype (c, _LOWER))
|
||||||
return (c + upalpha);
|
return (c + upalpha);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue