From: Carlos J. Talbot Date: Thu, 1 Oct 2009 18:56:47 +0000 (+0000) Subject: elapsed needs typecasting. (introduced in svn 15027) X-Git-Tag: v1.0.6~1761 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05d6342ffb3ed27fad14d1a45e014ec768a52fef;p=thirdparty%2Ffreeswitch.git elapsed needs typecasting. (introduced in svn 15027) git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15033 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index bbf810099a..936abe6fea 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -253,7 +253,7 @@ static int check_per_channel_timeouts(originate_global_t *oglobals, delayed_min = originate_status[i].per_channel_delay_start; } } - early_exit_time = delayed_min - elapsed; + early_exit_time = delayed_min - (uint32_t) elapsed; } for (i = 0; i < max; i++) { if (originate_status[i].peer_channel && originate_status[i].per_channel_delay_start && (elapsed > originate_status[i].per_channel_delay_start || active_channels == 0) ) {