Change wctype_t to an unsigned type to avoid warnings.

This commit is contained in:
tjr 2002-08-04 12:43:53 +00:00
parent c7dfca65ec
commit 2e02b2970d
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;