提交 a79adcaf authored 作者: Jeff Lenk's avatar Jeff Lenk

build warnings - trivial

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16342 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 1d7820ec
......@@ -393,7 +393,7 @@ static uint8_t check_channel_status(originate_global_t *oglobals, originate_stat
if (originate_status[i].tagged && originate_status[i].peer_session) {
switch_channel_t *channel = switch_core_session_get_channel(originate_status[i].peer_session);
int j;
uint32_t j;
if (switch_channel_down(channel)) {
switch_call_cause_t cause = switch_channel_get_cause(channel);
......@@ -1603,7 +1603,7 @@ static void *SWITCH_THREAD_FUNC early_thread_run(switch_thread_t *thread, void *
if (datalen < read_frame->datalen) {
datalen = read_frame->datalen;
}
for (x = 0; x < read_frame->datalen / 2; x++) {
for (x = 0; x < (int)read_frame->datalen / 2; x++) {
sample = data[x] + mux_data[x];
switch_normalize_to_16bit(sample);
mux_data[x] = sample;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论