From: Michael Jerris Date: Mon, 15 Dec 2008 05:12:12 +0000 (+0000) Subject: FSCORE-253 workaround netbsd failures X-Git-Tag: v1.0.2~238 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57ffaad4bbd7a438b6b006a8a44f296bc356c5ff;p=thirdparty%2Ffreeswitch.git FSCORE-253 workaround netbsd failures git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10764 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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) {