[ros-diffs] [arty] 29073: 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
arty at svn.reactos.org
arty at svn.reactos.org
Mon Sep 17 07:57:55 CEST 2007
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/ctype.c?rev=29073&r1=29072&r2=29073&view=diff
==============================================================================
--- 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);
More information about the Ros-diffs
mailing list