Author: arty
Date: Mon Sep 17 09:57:54 2007
New Revision: 29073
URL:
http://svn.reactos.org/svn/reactos?rev=29073&view=rev
Log:
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
Modified:
trunk/reactos/lib/sdk/libcntpr/string/ctype.c
Modified: trunk/reactos/lib/sdk/libcntpr/string/ctype.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/libcntpr/string/ct…
==============================================================================
--- trunk/reactos/lib/sdk/libcntpr/string/ctype.c (original)
+++ trunk/reactos/lib/sdk/libcntpr/string/ctype.c Mon Sep 17 09:57:54 2007
@@ -571,7 +571,7 @@
/*
* @implemented
*/
-wchar_t towlower(wchar_t c)
+wint_t towlower(wint_t c)
{
if (iswctype (c, _UPPER))
return (c - upalpha);
@@ -581,7 +581,7 @@
/*
* @implemented
*/
-wchar_t towupper(wchar_t c)
+wint_t towupper(wint_t c)
{
if (iswctype (c, _LOWER))
return (c + upalpha);