Change wctype_t to an unsigned type to avoid warnings.

This commit is contained in:
Tim J. Robbins 2002-08-04 12:43:53 +00:00
parent 4645079944
commit 4bd5585fbd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101314
3 changed files with 3 additions and 3 deletions

View File

@ -96,7 +96,7 @@ typedef _BSD_SIZE_T_ size_t;
#endif
#ifndef _WCTYPE_T
typedef long wctype_t;
typedef unsigned long wctype_t;
#define _WCTYPE_T
#endif

View File

@ -47,7 +47,7 @@ typedef int wctrans_t;
#endif
#ifndef _WCTYPE_T
typedef long wctype_t;
typedef unsigned long wctype_t;
#define _WCTYPE_T
#endif

View File

@ -61,7 +61,7 @@ wctype(const char *property)
{ "ideogram", _CTYPE_I }, /* BSD extension */
{ "special", _CTYPE_T }, /* BSD extension */
{ "phonogram", _CTYPE_Q }, /* BSD extension */
{ NULL, 0L }, /* Default */
{ NULL, 0UL }, /* Default */
};
int i;