Skip to content

Commit

Permalink
fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
rianquinn committed Aug 22, 2019
1 parent 48a89ec commit e3a9696
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions include/__locale
Original file line number Diff line number Diff line change
Expand Up @@ -444,16 +444,16 @@ public:
#elif defined(_NEWLIB_VERSION)
// Same type as Newlib's _ctype_ array in newlib/libc/include/ctype.h.
typedef char mask;
static const mask space = _S;
static const mask print = _P | _U | _L | _N | _B;
static const mask cntrl = _C;
static const mask upper = _U;
static const mask lower = _L;
static const mask alpha = _U | _L;
static const mask digit = _N;
static const mask punct = _P;
static const mask xdigit = _X | _N;
static const mask blank = _B;
static const mask space = static_cast<mask>(_S);
static const mask print = static_cast<mask>(_P | _U | _L | _N | _B);
static const mask cntrl = static_cast<mask>(_C);
static const mask upper = static_cast<mask>(_U);
static const mask lower = static_cast<mask>(_L);
static const mask alpha = static_cast<mask>(_U | _L);
static const mask digit = static_cast<mask>(_N);
static const mask punct = static_cast<mask>(_P);
static const mask xdigit = static_cast<mask>(_X | _N);
static const mask blank = static_cast<mask>(_B);
# define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_PRINT
# define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_ALPHA
# define _LIBCPP_CTYPE_MASK_IS_COMPOSITE_XDIGIT
Expand Down

0 comments on commit e3a9696

Please sign in to comment.