]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
build bs
authorAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Aug 2006 21:18:36 +0000 (21:18 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Tue, 22 Aug 2006 21:18:36 +0000 (21:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2365 d0543943-73ff-0310-b7d9-9358b9ac24b2

build/buildlib.sh
src/switch_utils.c

index da889b918dcbd098ee8641dcc12ddcf710f4cb16..510c89d135632cada7cc4eadedbd7ebfdaba54a5 100755 (executable)
@@ -67,7 +67,7 @@ if [ -f ../$uncompressed.build.sh ] ; then
     MAKE=$MAKE ../$uncompressed.build.sh $@
 else
     $MAKE clean 2>&1
-    sh CFLAGS=$MOD_CFLAGS ./configure $@
+    CFLAGS="$MOD_CFLAGS" ; export CFLAGS; sh ./configure $@
 
     if [ $? = 0 ] ; then
        $MAKE
index 056189a308a5091092111ac17c4ccf33145239ab..a528736b1c90681c04a26ee7e3b8ae69ac129d4b 100644 (file)
@@ -52,7 +52,7 @@ static char RFC2833_CHARS[] = "0123456789*#ABCDF";
 
 SWITCH_DECLARE(char) switch_rfc2833_to_char(int event)
 {
-       if (event > -1 && event < sizeof(RFC2833_CHARS)) {
+       if (event > -1 && event < (int32_t) sizeof(RFC2833_CHARS)) {
                return RFC2833_CHARS[event];
        }
        return '\0';