corrected parameter type for towupper.

svn path=/trunk/; revision=4187
This commit is contained in:
Robert Dickenson 2003-02-21 16:32:57 +00:00
parent 7c50d54d90
commit 95cb8daf2a
2 changed files with 6 additions and 6 deletions

View file

@ -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);

View file

@ -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'));