From a15bc52f0ec79898b044e7dd87ec31a59f1b5bb1 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 18 Aug 2006 02:21:26 +0000 Subject: [PATCH] cast for possible loss of data. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2324 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_dingaling/mod_dingaling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/endpoints/mod_dingaling/mod_dingaling.c b/src/mod/endpoints/mod_dingaling/mod_dingaling.c index 14b5b6d077..d9d284a7cf 100644 --- a/src/mod/endpoints/mod_dingaling/mod_dingaling.c +++ b/src/mod/endpoints/mod_dingaling/mod_dingaling.c @@ -1645,7 +1645,7 @@ static ldl_status handle_signalling(ldl_handle_t *handle, ldl_session_t *dlsessi switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Choosing Payload index %u %s %u\n", y, payloads[x].name, payloads[x].id); tech_pvt->codec_name = tech_pvt->codecs[y]->iananame; tech_pvt->codec_num = tech_pvt->codecs[y]->ianacode; - tech_pvt->r_codec_num = payloads[x].id; + tech_pvt->r_codec_num = (switch_payload_t)(payloads[x].id); if (!switch_test_flag(tech_pvt, TFLAG_OUTBOUND)) { do_describe(tech_pvt, 0); }