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);
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;