From 57ffaad4bbd7a438b6b006a8a44f296bc356c5ff Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 15 Dec 2008 05:12:12 +0000 Subject: [PATCH] FSCORE-253 workaround netbsd failures git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10764 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {