From 95cb8daf2a8c4cc6af9568d132eeaf4c0d024a3f Mon Sep 17 00:00:00 2001 From: Robert Dickenson Date: Fri, 21 Feb 2003 16:32:57 +0000 Subject: [PATCH] corrected parameter type for towupper. svn path=/trunk/; revision=4187 --- reactos/include/msvcrt/ctype.h | 10 +++++----- reactos/lib/msvcrt/ctype/toupper.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reactos/include/msvcrt/ctype.h b/reactos/include/msvcrt/ctype.h index 3b6483a8878..f0681a6bd11 100644 --- a/reactos/include/msvcrt/ctype.h +++ b/reactos/include/msvcrt/ctype.h @@ -18,9 +18,9 @@ * DISCLAIMED. This includes but is not limited to warranties of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * - * $Revision: 1.7 $ - * $Author: chorns $ - * $Date: 2003/01/15 21:07:18 $ + * $Revision: 1.8 $ + * $Author: robd $ + * $Date: 2003/02/21 16:32:57 $ * */ @@ -120,9 +120,9 @@ int iswupper(wint_t); int iswxdigit(wint_t); //wchar_t towlower(wchar_t); -wchar_t towupper(wchar_t); +//wchar_t towupper(wchar_t); int towlower(wint_t); -//int towupper(wint_t); +int towupper(wint_t); int isleadbyte(int); diff --git a/reactos/lib/msvcrt/ctype/toupper.c b/reactos/lib/msvcrt/ctype/toupper.c index 0b926b845ac..7b05bad131d 100644 --- a/reactos/lib/msvcrt/ctype/toupper.c +++ b/reactos/lib/msvcrt/ctype/toupper.c @@ -11,7 +11,7 @@ int toupper(int c) } #undef towupper -wchar_t towupper(wchar_t c) +int towupper(wint_t c) { if (iswctype (c, _LOWER)) return (c + (L'A' - L'a'));