diff --git a/libs/freetdm/src/ftdm_io.c b/libs/freetdm/src/ftdm_io.c index baceacddbc..a1fee89395 100644 --- a/libs/freetdm/src/ftdm_io.c +++ b/libs/freetdm/src/ftdm_io.c @@ -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"); diff --git a/libs/freetdm/src/ftmod/ftmod_sangoma_boost/sigboost.h b/libs/freetdm/src/ftmod/ftmod_sangoma_boost/sigboost.h index f115f1e493..9c3be35260 100644 --- a/libs/freetdm/src/ftmod/ftmod_sangoma_boost/sigboost.h +++ b/libs/freetdm/src/ftmod/ftmod_sangoma_boost/sigboost.h @@ -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;