From a79adcaf0a83cf9bc9fdb44845b58f2e713a43c0 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Sun, 17 Jan 2010 17:29:26 +0000 Subject: [PATCH] build warnings - trivial git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16342 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index f5095d2317..2a253eeabe 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -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;