time_t cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2256 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3a5af506b3
commit
f1e3aa5a96
|
@ -2069,7 +2069,7 @@ static switch_status_t conference_outcall(conference_obj_t *conference, switch_c
|
|||
break;
|
||||
}
|
||||
|
||||
if ((time(NULL) - start) > timelimit) {
|
||||
if ((time(NULL) - start) > (time_t)timelimit) {
|
||||
break;
|
||||
}
|
||||
switch_yield(1000);
|
||||
|
@ -2082,7 +2082,7 @@ static switch_status_t conference_outcall(conference_obj_t *conference, switch_c
|
|||
while ((!caller_channel || switch_channel_ready(caller_channel)) &&
|
||||
!switch_channel_test_flag(peer_channel, CF_ANSWERED) &&
|
||||
!switch_channel_test_flag(peer_channel, CF_EARLY_MEDIA) &&
|
||||
((time(NULL) - start) < timelimit)) {
|
||||
((time(NULL) - start) < (time_t)timelimit)) {
|
||||
|
||||
/* read from the channel while we wait if the audio is up on it */
|
||||
if (session && (switch_channel_test_flag(caller_channel, CF_ANSWERED) || switch_channel_test_flag(caller_channel, CF_EARLY_MEDIA))) {
|
||||
|
|
|
@ -1203,7 +1203,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
|
|||
break;
|
||||
}
|
||||
|
||||
if ((time(NULL) - start) > timelimit) {
|
||||
if ((time(NULL) - start) > (time_t)timelimit) {
|
||||
break;
|
||||
}
|
||||
switch_yield(1000);
|
||||
|
@ -1216,7 +1216,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_multi_threaded_bridge(switch_core_ses
|
|||
switch_channel_ready(peer_channel) &&
|
||||
!switch_channel_test_flag(peer_channel, CF_ANSWERED) &&
|
||||
!switch_channel_test_flag(peer_channel, CF_EARLY_MEDIA) &&
|
||||
((time(NULL) - start) < timelimit)) {
|
||||
((time(NULL) - start) < (time_t)timelimit)) {
|
||||
|
||||
/* read from the channel while we wait if the audio is up on it */
|
||||
if (switch_channel_test_flag(caller_channel, CF_ANSWERED) || switch_channel_test_flag(caller_channel, CF_EARLY_MEDIA)) {
|
||||
|
|
Loading…
Reference in New Issue