forked from Mirrors/freeswitch
Windows build fixes, inline and unsigned stuff
git-svn-id: http://svn.openzap.org/svn/openzap/branches/sangoma_boost@1019 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
parent
926f140754
commit
8667596ab4
@ -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");
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user