From 55975c7f3c1cc8eb581b3ffad489698bec88f88b Mon Sep 17 00:00:00 2001 From: Moises Silva Date: Sun, 7 Nov 2010 16:57:11 -0500 Subject: [PATCH] openzap: fix mismatch in enum types --- .../src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c index 937c67b328..dc2218012e 100644 --- a/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c +++ b/libs/openzap/src/ozmod/ozmod_sangoma_boost/ozmod_sangoma_boost.c @@ -898,7 +898,7 @@ tryagain: static void handle_call_loop_start(zap_span_t *span, sangomabc_connection_t *mcon, sangomabc_short_event_t *event) { - zap_status_t res = ZAP_FAIL; + zap_state_change_result_t res = ZAP_FAIL; zap_channel_t *zchan; if (!(zchan = find_zchan(span, (sangomabc_short_event_t*)event, 0))) { @@ -923,7 +923,7 @@ static void handle_call_loop_start(zap_span_t *span, sangomabc_connection_t *mco static __inline__ void stop_loop(zap_channel_t *zchan) { - zap_status_t res = ZAP_FAIL; + zap_state_change_result_t res = ZAP_STATE_CHANGE_FAIL; zap_channel_command(zchan, ZAP_COMMAND_DISABLE_LOOP, NULL); /* even when we did not sent a msg we set this flag to avoid sending call stop in the DOWN state handler */ zap_set_flag(zchan, SFLAG_SENT_FINAL_MSG);