]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
elapsed needs typecasting. (introduced in svn 15027)
authorCarlos J. Talbot <carlos@talbot.net>
Thu, 1 Oct 2009 18:56:47 +0000 (18:56 +0000)
committerCarlos J. Talbot <carlos@talbot.net>
Thu, 1 Oct 2009 18:56:47 +0000 (18:56 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15033 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_ivr_originate.c

index bbf810099adf576eab7de8d0244bb61bfd9c1925..936abe6fea4b9d5081d146c03184417529acba90 100644 (file)
@@ -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) ) {