mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-23 20:51:58 +00:00
change to mod_softimer name again, remove mod_threadtimer, fix int overflow.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2716 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -45,7 +45,7 @@ static const char modname[] = "mod_softtimer";
|
||||
#define MAX_ELEMENTS 1000
|
||||
|
||||
struct timer_private {
|
||||
uint32_t reference;
|
||||
uint64_t reference;
|
||||
};
|
||||
typedef struct timer_private timer_private_t;
|
||||
|
||||
|
||||
+1
-1
@@ -810,7 +810,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_
|
||||
}
|
||||
|
||||
if (rtp_session->timer.interval) {
|
||||
check = (switch_core_timer_check(&rtp_session->timer) == SWITCH_STATUS_SUCCESS);
|
||||
check = (uint8_t)(switch_core_timer_check(&rtp_session->timer) == SWITCH_STATUS_SUCCESS);
|
||||
}
|
||||
|
||||
if (check) {
|
||||
|
||||
Reference in New Issue
Block a user