diff --git a/src/switch_utils.c b/src/switch_utils.c index 3e2d122aab..52f103397c 100644 --- a/src/switch_utils.c +++ b/src/switch_utils.c @@ -1657,7 +1657,7 @@ SWITCH_DECLARE(int) switch_tolower(int c) #define _X 0x40 #define _B 0x80 -const char _switch_C_ctype_[1 + SWITCH_CTYPE_NUM_CHARS] = { +const int _switch_C_ctype_[1 + SWITCH_CTYPE_NUM_CHARS] = { 0, _C, _C, _C, _C, _C, _C, _C, _C, _C, _C|_S, _C|_S, _C|_S, _C|_S, _C|_S, _C, _C, @@ -1695,7 +1695,7 @@ const char _switch_C_ctype_[1 + SWITCH_CTYPE_NUM_CHARS] = { _P, _P, _P, _P, _P, _P, _P, _P /* F8 */ }; -const char *_switch_ctype_ = _switch_C_ctype_; +const int *_switch_ctype_ = _switch_C_ctype_; SWITCH_DECLARE(int) switch_isalnum(int c) {