From fe9867a61cc574156db9bf91ae61d4202eedeb2f Mon Sep 17 00:00:00 2001 From: Art Yerkes Date: Mon, 17 Sep 2007 05:57:54 +0000 Subject: [PATCH] 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 --- reactos/lib/sdk/libcntpr/string/ctype.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/sdk/libcntpr/string/ctype.c b/reactos/lib/sdk/libcntpr/string/ctype.c index c9a542f185e..6d77a26e5ab 100644 --- a/reactos/lib/sdk/libcntpr/string/ctype.c +++ b/reactos/lib/sdk/libcntpr/string/ctype.c @@ -571,7 +571,7 @@ int toupper(int c) /* * @implemented */ -wchar_t towlower(wchar_t c) +wint_t towlower(wint_t c) { if (iswctype (c, _UPPER)) return (c - upalpha); @@ -581,7 +581,7 @@ wchar_t towlower(wchar_t c) /* * @implemented */ -wchar_t towupper(wchar_t c) +wint_t towupper(wint_t c) { if (iswctype (c, _LOWER)) return (c + upalpha);