Change wctype_t to an unsigned type to avoid warnings.
This commit is contained in:
parent
4645079944
commit
4bd5585fbd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101314
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user