]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Windows build fixes, inline and unsigned stuff
authorMoises Silva <moy@sangoma.com>
Tue, 2 Feb 2010 19:11:07 +0000 (19:11 +0000)
committerMoises Silva <moy@sangoma.com>
Tue, 2 Feb 2010 19:11:07 +0000 (19:11 +0000)
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1019 a93c3328-9c30-0410-af19-c9cd2b2d52af

libs/freetdm/src/ftdm_io.c
libs/freetdm/src/ftmod/ftmod_sangoma_boost/sigboost.h

index baceacddbc708af94ab4820f6f34120a1e5ff8a4..a1fee893959792ca1c997a2ec4574f60809ba315 100644 (file)
@@ -3249,7 +3249,7 @@ FT_DECLARE(ftdm_status_t) ftdm_channel_remove_from_group(ftdm_group_t* group, ft
 
 static ftdm_status_t ftdm_group_add_channels(const char* name, ftdm_span_t* span, int currindex)
 {
-       int chan_index = 0;
+       unsigned chan_index = 0;
 
        ftdm_assert_return(strlen(name) > 0, FTDM_FAIL, "Invalid group name provided\n");
        ftdm_assert_return(currindex >= 0, FTDM_FAIL, "Invalid current channel index provided\n");
index f115f1e493851158af059d673a38858b789f3309..9c3be3526081856326bac4a2b83e4cd708703b4c 100644 (file)
@@ -162,12 +162,12 @@ typedef struct
 #pragma pack()
 
 
-static inline int boost_full_event(int event_id)
+static __inline__ int boost_full_event(int event_id)
 {
         switch (event_id) {
         case SIGBOOST_EVENT_CALL_START:
         case SIGBOOST_EVENT_DIGIT_IN:
-       case SIGBOOST_EVENT_CALL_PROGRESS:
+               case SIGBOOST_EVENT_CALL_PROGRESS:
                 return 1;
         default:
                 break;