]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fix warnings
authorMathieu Rene <mrene@avgs.ca>
Wed, 25 Jul 2012 19:13:04 +0000 (15:13 -0400)
committerMathieu Rene <mrene@avgs.ca>
Wed, 25 Jul 2012 19:13:04 +0000 (15:13 -0400)
src/mod/endpoints/mod_media_gateway/media_gateway_cmd_handler.c
src/mod/endpoints/mod_media_gateway/media_gateway_xml.c

index 6a6ef5c4d9cb547ee124a6d4ec4bd2aae30b8a66..4307a8e91b891292499bdc8c55b3d119abed0043 100644 (file)
@@ -143,7 +143,7 @@ switch_status_t mg_is_ito_pkg_req(megaco_profile_t* mg_profile, MgMgcoCommand *c
                                                 (reqEvtPar->u.other.val.u.eq.type.val == MGT_VALTYPE_UINT32))
                                         {
                                             switch_log_printf(SWITCH_CHANNEL_LOG_CLEAN, SWITCH_LOG_INFO," Received Inactivity timer value [%d]\n", 
-                                                    reqEvtPar->u.other.val.u.eq.u.decInt.val); 
+                                                    (int)reqEvtPar->u.other.val.u.eq.u.decInt.val); 
 
                                             mg_profile->inact_tmr = reqEvtPar->u.other.val.u.eq.u.decInt.val/MG_INACTIVITY_TMR_RESOLUTION;
 
index b52d4da0f1090b5318d83df8b715d92b3687ec70..0d6390a173bb51cec08739d07a5b6fb23865df63 100644 (file)
@@ -123,7 +123,7 @@ switch_status_t config_profile(megaco_profile_t *profile, switch_bool_t reload)
             const char *prefix = switch_xml_attr(mg_term, "termination-id-prefix");
             //const char *sztermination_id_base = switch_xml_attr(mg_term, "termination-id-base");
             //const char *tech =  switch_xml_attr(mg_term, "tech");
-            const char *channel_prefix = switch_xml_attr(mg_term, "channel-prefix");
+            //const char *channel_prefix = switch_xml_attr(mg_term, "channel-prefix");
             const char *channel_map = switch_xml_attr(mg_term, "channel-map");
             const char *szspan_id = switch_xml_attr(mg_term, "span-id");
             const int span_id = !zstr(szspan_id) ? atoi(szspan_id) : 0;