]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSCORE-253 workaround netbsd failures
authorMichael Jerris <mike@jerris.com>
Mon, 15 Dec 2008 05:12:12 +0000 (05:12 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 15 Dec 2008 05:12:12 +0000 (05:12 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10764 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_utils.c

index 3e2d122aab4fdcffb4486eb7ca3cbc2477226d1f..52f103397c96ee4cb9e3a2615ffb07eb46363a5a 100644 (file)
@@ -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)
 {