[Freeswitch-svn] [commit] r2365 - in freeswitch/trunk: build src

Freeswitch SVN anthm at freeswitch.org
Tue Aug 22 17:18:36 EDT 2006


Author: anthm
Date: Tue Aug 22 17:18:36 2006
New Revision: 2365

Modified:
   freeswitch/trunk/build/buildlib.sh
   freeswitch/trunk/src/switch_utils.c

Log:
build bs

Modified: freeswitch/trunk/build/buildlib.sh
==============================================================================
--- freeswitch/trunk/build/buildlib.sh	(original)
+++ freeswitch/trunk/build/buildlib.sh	Tue Aug 22 17:18:36 2006
@@ -67,7 +67,7 @@
     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

Modified: freeswitch/trunk/src/switch_utils.c
==============================================================================
--- freeswitch/trunk/src/switch_utils.c	(original)
+++ freeswitch/trunk/src/switch_utils.c	Tue Aug 22 17:18:36 2006
@@ -52,7 +52,7 @@
 
 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';



More information about the Freeswitch-svn mailing list