git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2365 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2006-08-22 21:18:36 +00:00
parent b76793d84a
commit f258e3ea5c
2 changed files with 2 additions and 2 deletions

View File

@ -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

View 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';